Re: NSAppleScript unicode issue
Re: NSAppleScript unicode issue
- Subject: Re: NSAppleScript unicode issue
- From: Annard Brouwer <email@hidden>
- Date: Tue, 21 Jun 2005 13:04:08 +0200
On 21 Jun 2005, at 11:30, Jin Kim wrote:
I'm trying to add a file to a new playlist with nsapplescript but
am experiencing problem with file path containing unicode.
Any suggestion will be appreciated =)
There are bugs in NSAppleScript related to unicode strings. If you
mix a string from a non current script (say Hungarian) with a
MacRoman string, you will get conversion errors (incidentally this
happens in ScriptEditor too). When I had to deal with this problem,
my solution was to write the string to a unicode file and in the
AppleScript command read its contents. This was the only way I could
get it to work.
Annard
_______________________________________________
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