• 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
Unicode in AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Unicode in AppleScript
      • From: ObjM2 <email@hidden>
  • Prev by Date: How to show New Print Dialog For Images
  • Next by Date: Problem with NSView and subviews
  • Previous by thread: How to show New Print Dialog For Images
  • Next by thread: Re: Unicode in AppleScript
  • Index(es):
    • Date
    • Thread