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 pitrou
Recipients Sworddragon, pitrou, r.david.murray, terry.reedy, vstinner
Date 2013-12-07.15:34:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386430477.9327.4.camel@fsol>
In-reply-to <>
> Using an environment variable is not the holy grail for this. On
> writing a non-single-user application you can't expect the user to set
> extra environment variables.

I am not understanding why the user would have to set anything at all.
What is the use case for per-user encoding settings?

I understand that passing LANG=C (e.g. to disable a program's
translations) forces ASCII instead of UTF-8, which is a flaw. Perhaps
the filesystem encoding should be set to UTF-8 when the system locale
says ASCII.

(OTOH, it's IMHO a system bug that LANG=C forces the ASCII charset;
we're not in the 80s anymore)
Date User Action Args
2013-12-07 15:34:40pitrousetrecipients: + pitrou, terry.reedy, vstinner, r.david.murray, Sworddragon
2013-12-07 15:34:40pitroulinkissue19846 messages
2013-12-07 15:34:40pitroucreate