Message217355
> > 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).
The issue is about stdin and stdout, I'm not sure why os.listdir would
be affected. |
|
Date |
User |
Action |
Args |
2014-04-28 10:07:29 | pitrou | set | recipients:
+ pitrou, loewis, ishimoto, ncoghlan, vstinner, larry, jwilk, ezio.melotti, a.badger, r.david.murray, Sworddragon, python-dev, martin.panter, serhiy.storchaka, bkabrda |
2014-04-28 10:07:29 | pitrou | link | issue19977 messages |
2014-04-28 10:07:29 | pitrou | create | |
|