This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Sworddragon, a.badger, bkabrda, ezio.melotti, ishimoto, jwilk, larry, loewis, martin.panter, ncoghlan, pitrou, python-dev, r.david.murray, serhiy.storchaka, vstinner
Date 2014-04-09.11:08:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwap5Ce_WaPOtHuXtt=L6jLDTdAbQpStcLUJxSM9UR7JZw@mail.gmail.com>
In-reply-to <1397040725.96.0.994063000204.issue19977@psf.upfronthosting.co.za>
Content
> 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.
History
Date User Action Args
2014-04-09 11:08:44vstinnersetrecipients: + vstinner, loewis, ishimoto, ncoghlan, pitrou, larry, jwilk, ezio.melotti, a.badger, r.david.murray, Sworddragon, python-dev, martin.panter, serhiy.storchaka, bkabrda
2014-04-09 11:08:44vstinnerlinkissue19977 messages
2014-04-09 11:08:44vstinnercreate