• 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: AppleScript and international characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Clarification (was: Re: AppleScript and international characters)
      • From: Christina Zeeh <email@hidden>
  • Prev by Date: Re: Address Book in Eudora
  • Next by Date: Re: Graphs, Was; Ragtime
  • Previous by thread: Re: AppleScript and international characters
  • Next by thread: Clarification (was: Re: AppleScript and international characters)
  • Index(es):
    • Date
    • Thread