Re: Clarification (was: Re: AppleScript and international characters)
Re: Clarification (was: Re: AppleScript and international characters)
- Subject: Re: Clarification (was: Re: AppleScript and international characters)
- From: John Delacour <email@hidden>
- Date: Thu, 22 Aug 2002 10:01:55 +0100
At 12:05 am +0200 22/8/02, Christina Zeeh wrote:
Here's another (tiny) script that also won't work with umlauts:
1. Open TextEdit
2. Type in some text containing umlauts
3. Run the following script:
set the clipboard to the text of the front document of
application "TextEdit" as international text
As you will see, the text in the clipboard gets truncated at the
first umlaut :-(
As others have explained, this apparently happens with "cocoa" apps
only. There is no way round it so far as I can see unless you write
the file to disk and read it, which is not at all practical.
Unless you need to use Unicode - and very few people do - then you
you would be far better off using an established text editor such as
Tex-Edit Plus <
http://www.tex-edit.com/> which is excellent and
available for Mac OS X.
It also has a proper scripting dictionary.
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.