• 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
Dealing with Japanese filenames??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Folder Action Script: launch on file creation?
  • Next by Date: Re: Folder Action Script: launch on file creation?
  • Previous by thread: Re: Folder Action Script: launch on file creation?
  • Next by thread: [ANN] PreFab UI Actions 1.1
  • Index(es):
    • Date
    • Thread