消息 [115546]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-09-04 00:10:46 | vstinner | 修改 | recipients:
+ vstinner, amaury.forgeotdarc |
| 2010-09-04 00:10:46 | vstinner | 修改 | messageid: <1283559046.81.0.144759455469.issue9630@psf.upfronthosting.co.za> |
| 2010-09-04 00:10:44 | vstinner | 链接 | issue9630 messages |
| 2010-09-04 00:10:42 | vstinner | 创建 | |
|