-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Corinna Vinschen wrote: > And it works as designed in your above testcase. > > I tested with a filename containing a Euro sign (Unicode 0x20ac), in > HTML speak "qq€". Cygwin converted it to "qq\016\342\202\254" > > The strace looks perfectly normal. I have no idea what python complains > about!
Having already rebuilt python for cygwin-1.7, gcc-4.3, and tcl/tk-8.5, I built and ran your C code, then: $ export LANG=en_CA.UTF-8 $ python -c "import os; print os.listdir('.')" [..., 'qq\xe2\x82\xac', ...] Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAknU+C4ACgkQpiWmPGlmQSNlfQCfbXfycxkM/kiW6kpjYqt+U7FG ivoAoNAmqrk83LWkxOOQ+kbp+4dl4xGT =u/R7 -----END PGP SIGNATURE----- -- 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/