Re: AppleScript and international characters
Re: AppleScript and international characters
- Subject: Re: AppleScript and international characters
- From: Ian King <email@hidden>
- Date: Wed, 21 Aug 2002 22:33:11 +0100
Hi Christina,
From the list it looks like you have answered your own question;
M|nchen = M<u-umlaut>nchen
The replaced character "|" (pipe) has a special meaning...
see earlier posts
HTH, Ian
>
If I get text from a compose window in Mail.app, and this text contains
>
umlauts, the text will be truncated at the first umlaut. This also seems
>
to happen with OmniGraffle, for which a lot of nice scripts exist to
>
export text into various formats - but none of those scripts work with
>
German umlauts.
>
>
The script I've tried is:
>
>
tell application "Mail"
>
activate
>
set my_message to make new compose message at the beginning of every
>
compose message
>
set the subject of my_message to "M|nchen"
>
make new message editor at beginning of message editors
>
set the compose message of message editor 1 to my_message
>
set the clipboard to the subject of the compose message of message
>
editor 1 as international text
>
end tell
>
>
"M|nchen" will appear fine in the subject of the compose message, but the
>
clipboard will only contain "M" :-(
>
>
PS: In case anyone has problems with the encoding of this email:
>
M|nchen = M<u-umlaut>nchen
_______________________________________________
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.