• 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: Arthur VIGAN <email@hidden>
  • Date: Sat, 26 Feb 2005 09:37:32 +0100

I just made a quick test of this solution, and it seems to work fine!

Thanks a lot!

 -- Arthur;

Le 26 févr. 05, à 07:55, Chris Hanson a écrit :

On Feb 25, 2005, at 4:43 PM, Arthur VIGAN wrote:
        length=CFStringGetLength(toolStringRef);
        app = (char*)malloc((length+1)*sizeof(char));
        result = CFStringGetCString(toolStringRef,
                                    app,
                                    length+1,
                                    kCFStringEncodingMacRoman);

Use a CFURL, and ask for the filesystem representation of that URL to hand to system calls. Or use an NSString and ask for its filesystemRepresentation.


  -- Chris





_______________________________________________
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


References: 
 >Problem with exec and accentuated characters (From: Arthur VIGAN <email@hidden>)
 >Re: Problem with exec and accentuated characters (From: Chris Hanson <email@hidden>)

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