Re: Problem with exec and accentuated characters
Re: Problem with exec and accentuated characters
- Subject: Re: Problem with exec and accentuated characters
- From: Chris Hanson <email@hidden>
- Date: Fri, 25 Feb 2005 22:55:23 -0800
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