[bug] mingw64-*-w64-win-iconv: Cannot open handle; convert to UTF-8

Yaakov Selkowitz yselkowitz@cygwin.com
Sun Mar 13 06:51:00 GMT 2016


On 2016-03-12 13:14, sdbenique@runbox.com wrote:
> At first I thought it could be a bug with SDL, but to make sure, I created a very simple reproduction
> of the issue using only the iconv libraray, and a simple main() function. This "test" fails
> on every machine on which I have ran it, in both 32-bit and 64-bit builds.
[snip]
>      iconv_t handle = iconv_open("C", "UTF-8");

Invalid code.  "C" is a locale, not an encoding.

-- 
Yaakov

--
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