STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Another possibility is to use _Py_char2wchar() + PyUnicode_FromWideChar() / 
_Py_wchar2char() + PyUnicode_AsWideChar() to decode / encode filenames. These 
functions use the locale encoding. This solution was possible in Python 3.1, 
but no more in Python 3.2 because of the PYTHONFSENCODING environment variable.

Even if I don't like my own solution, I don't see better solution.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9630>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to