• 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: NSTask vs. special characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask vs. special characters


  • Subject: Re: NSTask vs. special characters
  • From: Rosyna <email@hidden>
  • Date: Sun, 29 Apr 2007 23:29:12 -0700

It's not that they're decomposed, it's that they're flat-out wrong.

Ack, at 4/30/07, Pierre Bernard said:

Here's the big problem... IIRC, %s interprets the string as the system encoding. (Which would be either MacFrench or MacRoman in your case). But -fileSystemRepresentation returns a "UTF-8" string. So anything that doesn't have the exact same value (such as French accents) in both encodings are going to get changed and mangled and you'll get a file not found error.

Well this is how I got it to work. I actually do want the decomposed characters in my shell script file.

--


Sincerely, Rosyna Keller Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTask vs. special characters (From: Pierre Bernard <email@hidden>)
 >Re: NSTask vs. special characters (From: Pierre Bernard <email@hidden>)
 >Re: NSTask vs. special characters (From: Rosyna <email@hidden>)
 >Re: NSTask vs. special characters (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: NSTask vs. special characters
  • Next by Date: EPS NSPrintOperation not working as set
  • Previous by thread: Re: NSTask vs. special characters
  • Next by thread: Bindings, Validation, NSTableView, NSMutableDictionary
  • Index(es):
    • Date
    • Thread