STINNER Victor added the comment:

> The default locale on Fedora is indeed UTF-8 these days - the problem is that 
> *users* are used to being able to use "LANG=C" to force the POSIX locale 
> (whether for testing purposes or other reasons), and that currently means 
> system utilities written in Python may fail in such situations if used with 
> UTF-8 data from the filesystem (or elsewhere). (I believe there may also be 
> other cases where POSIX mandates the use of the C locale, but Toshio would be 
> in a better position than I am to confirm whether or not that is actually the 
> case).

A common situation where you get a C locale is for programs started by
a crontab. If I remember correctly, these programs start with the C
locale, instead of the "system" (user?) locale.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19977>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to