iconv and WCHAR_T

Samuel Thibault samuel.thibault@ens-lyon.org
Sat Nov 26 16:12:00 GMT 2005


Hi,

For converting external charsets to internal wchar_t format, I use
iconv from that charset to "WCHAR_T", but it seems buggy:

- iconv -l doesn't show WCHAR_T
- echo a | iconv -t WCHAR_T
  does work
- echo é | iconv -t WCHAR_T
  does not work

Is that on purpose? Isn't WCHAR_T an alias for UCS-2LE on x86 cygwin?

Regards,
Samuel

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



More information about the Cygwin mailing list