iconv and WCHAR_T

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

iconv and WCHAR_T

Samuel Thibault

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?


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/