This is the mail archive of the
cygwin
mailing list for the Cygwin project.
converting to wide characters
- From: "Tony Lewis" <tlewis at exelana dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 8 Aug 2009 13:23:10 -0700
- Subject: 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