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

Re: Dealing with Japanese filenames??


  • Subject: Re: Dealing with Japanese filenames??
  • From: Jonathan del Strother <email@hidden>
  • Date: Mon, 2 May 2005 23:57:13 +0100

I'm still stumped on this.  Does noone know how to do this?


On 28 Apr 2005, at 21:56, Jonathan del Strother wrote:

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 (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40steelskies.com


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: Dealing with Japanese filenames??
      • From: email@hidden
  • Prev by Date: Re: Tiger: Keychain Scripting works?
  • Next by Date: Re: getting a stay open script to do something on system wake up
  • Previous by thread: Re: Help with droplet
  • Next by thread: Re: Dealing with Japanese filenames??
  • Index(es):
    • Date
    • Thread