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 Jan Niklas Hasse, Sworddragon, abarry, akira, barry, ezio.melotti, lemburg, methane, ncoghlan, r.david.murray, vstinner, yan12125
Date 2017-01-05.22:44:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483656253.84.0.155103547911.issue28180@psf.upfronthosting.co.za>
In-reply-to
Content
> Working with Docker I often end up with an environment where the locale isn't correctly set.

The locale encoding is controlled by 3 environment variables: LC_ALL, LC_CTYPE and LANG.
https://www.python.org/dev/peps/pep-0540/#the-posix-locale-and-its-encoding

Can you please tell me if these variables are set and if yes, give me their value?

I would like to know if it would be possible to change the behaviour of Python when the (LC_CTYPE) locale is POSIX (aka the famous "C" locale).
History
Date User Action Args
2017-01-05 22:44:13vstinnersetrecipients: + vstinner, lemburg, barry, ncoghlan, ezio.melotti, r.david.murray, methane, akira, Sworddragon, yan12125, abarry, Jan Niklas Hasse
2017-01-05 22:44:13vstinnersetmessageid: <1483656253.84.0.155103547911.issue28180@psf.upfronthosting.co.za>
2017-01-05 22:44:13vstinnerlinkissue28180 messages
2017-01-05 22:44:13vstinnercreate