Message115546
| 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: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 |
|