Message217329
| Author |
vstinner |
| Recipients |
a.badger, bkabrda, deleted250130, ezio.melotti, ishimoto, jwilk, larry, loewis, martin.panter, ncoghlan, pitrou, python-dev, r.david.murray, serhiy.storchaka, vstinner |
| Date |
2014年04月27日.23:33:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwYcJ3y4O1vA9NTUm5p2dWmRyH-QG8=0xuGwVNCSpEz54Q@mail.gmail.com> |
| In-reply-to |
<CADiSq7dN8wDs86k8XrnT3VBeCVpHd-nySC6r+mFLZ4ku9AVFbQ@mail.gmail.com> |
| Content |
> We should not overcomplicate this. I suggest that we simply use utf-8 under the C locale.
Do you mean utf8/strict or utf8/surrogateescape?
utf8/strict doesn't work (os.listdir raises an unicode error) if your
system is configured to use latin1 (ex: filenames are stored in this
encoding), but unfortunately your program is running in an empty
environment (so will use the POSIX locale). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年04月27日 23:33:57 | vstinner | set | recipients:
+ vstinner, loewis, ishimoto, ncoghlan, pitrou, larry, jwilk, ezio.melotti, a.badger, r.david.murray, deleted250130, python-dev, martin.panter, serhiy.storchaka, bkabrda |
| 2014年04月27日 23:33:57 | vstinner | link | issue19977 messages |
| 2014年04月27日 23:33:57 | vstinner | create |
|