Re: Problem with exec and accentuated characters
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