• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: System Events "Show Clipboard" Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Events "Show Clipboard" Bug?


  • Subject: Re: System Events "Show Clipboard" Bug?
  • From: John Delacour <email@hidden>
  • Date: Sat, 19 Jul 2003 00:39:57 +0100
  • Mac-eudora-version: 6.0a27

At 6:49 pm -0400 18/7/03, Jonathan Levi, M.D. wrote:

Good point: the clipboard should be able to recognize Unicode. I'll send a bug report to Apple.

It gets more complicated.


1.

Run this script and you will see that it is impossible to get anything but a list of a Unicode character onto the clipboard.

[ <> = lozenge character ]

set _filename to (ASCII character 215) as Unicode text
--> "<>"
set the clipboard to _filename
the clipboard
--> {"<>"}
set _reco to the clipboard as record
-->{Unicode text:"<>"}
set _utext to Unicode text of _reco
--> "<>"
set the clipboard to _utext
the clipboard
--> {"<>"}

There is no difficulty if you change 215 to 115 or anything up to 127 -- ie the US-ASCII range.



2.

Name a file "<>" (lozenge) and copy it. Then do "Show Clipboard" and you will see the lozenge. Even with "inconvertible" Unicode, you will see the Unicode text, though it cannot be properly displayed in Geneva.

So something seems definitely to be wrong here.

Perhaps Chris can explain.



JD



.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: System Events "Show Clipboard" Bug?
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: System Events "Show Clipboard" Bug? (From: "Jonathan Levi, M.D." <email@hidden>)

  • Prev by Date: Re: Ethan Rips, your autoreply gone renegade!
  • Next by Date: Re: Ethan's kneecaps
  • Previous by thread: Re: System Events "Show Clipboard" Bug?
  • Next by thread: Re: System Events "Show Clipboard" Bug?
  • Index(es):
    • Date
    • Thread