This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

converting to wide characters


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]