Message205669
The "C" locale is part of the ANSI C standard. The "POSIX" locale is an alias for the "C" locale and a POSIX standard, so we cannot just replace the ASCII encoding with UTF-8 as we wish, so Antoine's patch won't work.
See e.g. http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html
The C and POSIX locale settings are the only locale settings that are guaranteed to always exist in C libraries. Python 3 should work with such locale settings. It doesn't have to be able to output non-ASCII code points, but it should run with ASCII data.
AFAIK, Python 3 does work with ASCII data in the C locale, so I'm not sure whether this is a bug at all. |
|
Date |
User |
Action |
Args |
2013-12-09 10:11:55 | lemburg | set | recipients:
+ lemburg, loewis, terry.reedy, ncoghlan, pitrou, vstinner, larry, a.badger, r.david.murray, deleted250130, serhiy.storchaka, bkabrda |
2013-12-09 10:11:55 | lemburg | set | messageid: <1386583915.11.0.38564520601.issue19846@psf.upfronthosting.co.za> |
2013-12-09 10:11:55 | lemburg | link | issue19846 messages |
2013-12-09 10:11:54 | lemburg | create | |
|