• 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: Problem with exec and accentuated characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with exec and accentuated characters


  • Subject: Re: Problem with exec and accentuated characters
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 25 Feb 2005 23:31:43 -0700


On Feb 25, 2005, at 5:43 PM, Arthur VIGAN wrote:

        result = CFStringGetCString(toolStringRef,
                                    app,
                                    length+1,
                                    kCFStringEncodingMacRoman);
[...]
The problems comes when the CFStringRef "toolStringRef" contains accentuated characters: the C "app" string does not contain proper characters, so the call to execl() does nothing and returns an error.

Does someone know any solution to this problem?

Try using UTF-8 instead of MacRoman.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
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: Problem with exec and accentuated characters
      • From: Arthur VIGAN <email@hidden>
References: 
 >Problem with exec and accentuated characters (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Re: NSAffineTransforms not working as expected?
  • Next by Date: Re: Problem with exec and accentuated characters
  • Previous by thread: Problem with exec and accentuated characters
  • Next by thread: Re: Problem with exec and accentuated characters
  • Index(es):
    • Date
    • Thread