Dealing with Japanese filenames??
Dealing with Japanese filenames??
- Subject: Dealing with Japanese filenames??
- From: Jonathan del Strother <email@hidden>
- Date: Thu, 28 Apr 2005 21:56:55 +0100
I'm using Applescript to tell iTunes to add some files to a playlist.
I have the filepaths in Cocoa as UTF8 strings. It handles accented
characters fine, but fails for things like Japanese characters,
complaining that it "can't make some data into the expected type"
If I pass the same string to NSFileManager's fileExistsAtPath, it works
fine, so I'm assuming the string is ok.
I've tried both executing the script directly (via initWithSource), and
writing the script to a file and executing the file
(initWithContentsOfURL) - Both report the same error.
Any ideas?
Cheers,
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden