This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, vstinner
Date 2010-09-04.00:10:42
SpamBayes Score 0.00014294162
Marked as misclassified No
Message-id <1283559046.81.0.144759455469.issue9630@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-04 00:10:46vstinnersetrecipients: + vstinner, amaury.forgeotdarc
2010-09-04 00:10:46vstinnersetmessageid: <1283559046.81.0.144759455469.issue9630@psf.upfronthosting.co.za>
2010-09-04 00:10:44vstinnerlinkissue9630 messages
2010-09-04 00:10:42vstinnercreate