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

AppleScript and international characters


  • Subject: AppleScript and international characters
  • From: Christina Zeeh <email@hidden>
  • Date: Wed, 21 Aug 2002 02:59:45 +0200

Hi,

I have the same problem that with umlauts and AppleScript that was described in a posting by someone else on this list last February (http://lists.apple.com/archives/applescript-
users/2002/Feb/20/osxmailbugwithumlautatts.001.txt), It doesn't seem it was answered then.

I wonder if someone has found a solution in the meantime ... the problem is as follows:
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.

I'm new to AppleScript, so if I missed something trivial, I'd be glad if you could point it out to me.

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" :-(


Thanks in advance for any help ...
Christina


PS: In case anyone has problems with the encoding of this email: M|nchen = M<u-umlaut>nchen

--
"I smile because I have no idea what's going on."
_______________________________________________
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: AppleScript and international characters
      • From: John Delacour <email@hidden>
    • Re: AppleScript and international characters
      • From: Christopher Nebel <email@hidden>
    • Re: AppleScript and international characters
      • From: Philip Aker <email@hidden>
  • Prev by Date: Address Book in Eudora
  • Next by Date: Re: scripting cookie prefs in MSIE (or another browser)
  • Previous by thread: Filemaker Batch export
  • Next by thread: Re: AppleScript and international characters
  • Index(es):
    • Date
    • Thread