Unicode in AppleScript
Unicode in AppleScript
- Subject: Unicode in AppleScript
- From: Jerry Brace <email@hidden>
- Date: Wed, 17 Aug 2005 09:59:24 -0200
I've been having a problem using unicode characters in the AppleScript that my Cocoa application uses. So to get closer to the solution I am just working with the AppleScript in the Script editor.
Here is an example of my problem:
tell application "iTunes"
play playlist "?????"
end tell
When I run the script in the editor it changes the value to this:
tell application "iTunes"
play playlist "ÅöÅöÅöÅöÅö"
end tell
I assume this is why it doesn't work when my Cocoa app calls the script.
Does anyone have any idea on how I can support these characters? Either by escaping in the AppleScript or escaping in the NSString my app uses to build the AppleScript?
I've spent several evenings trying to get this figured out.
Many thanks,
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden