• 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
NSTask and unicode arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask and unicode arguments


  • Subject: NSTask and unicode arguments
  • From: Stefan Fisk <email@hidden>
  • Date: Sun, 6 Nov 2005 02:04:28 +0100

Dear Cocoa-dev,

I've got a perl script that mines some data of web pages and prints its result to stdout. This script in turn is called from an application, using NSTask. My problem is that when i give it argument string with unicode characters in them they get decomposed, so that ö becomes ö etc. The web pages in question don't support decomposed characters, so ö has to become ö. Right now i can't figure out how to work around this, and any creative suggestions would be appreciated. The real culprit is -[NSString fileSystemRepresentation], which NSTask uses when passing its arguments to the script.
_______________________________________________
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
  • Follow-Ups:
    • Re: NSTask and unicode arguments
      • From: Aki Inoue <email@hidden>
  • Prev by Date: Core Data Predicates with Relationships and Objects
  • Next by Date: Re: Strange behaviour of scanFloat
  • Previous by thread: Re: Core Data Predicates with Relationships and Objects
  • Next by thread: Re: NSTask and unicode arguments
  • Index(es):
    • Date
    • Thread