converting to wide characters

Tony Lewis tlewis@exelana.com
Sat Aug 8 20:23:00 GMT 2009


According to the documentation, passing an empty string to iconv denotes
locale dependent character encoding. This leads me to conclude that by
default on cygwin:

cd = iconv_open("UTF-16LE", "");

should produce the same encodings as:

cd = iconv_open("UTF-16LE", "ISO-8859-1");

but it doesn't for characters in the range 0x80 to 0x9f. Is there a way to
set my locale within cygwin so that "" means "ISO-8859-1" to iconv_open?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list