Message115546
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. |
|
Date |
User |
Action |
Args |
2010-09-04 00:10:46 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc |
2010-09-04 00:10:46 | vstinner | set | messageid: <1283559046.81.0.144759455469.issue9630@psf.upfronthosting.co.za> |
2010-09-04 00:10:44 | vstinner | link | issue9630 messages |
2010-09-04 00:10:42 | vstinner | create | |
|