Re: iconv (libiconv.dylib) broken
Re: iconv (libiconv.dylib) broken
- Subject: Re: iconv (libiconv.dylib) broken
- From: Jonas Maebe <email@hidden>
- Date: Tue, 9 Feb 2010 21:50:43 +0100
On 09 Feb 2010, at 20:58, Andreas Grosam wrote:
> after experimenting with the iconv library it seems that it is broken on Mac OS X.
It works fine, but but you have to call setlocale(LC_ALL,"") before calling any iconv routines. It is the same on Solaris (but not on Linux). My best guess is that the following statement from the POSIX spec justifies this behaviour:
"Internationalised programs must call setlocale() to initiate a specific language operation."
(from http://www.opengroup.org/onlinepubs/007908799/xsh/setlocale.html )
Jonas _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden