Author ncoghlan
Recipients Dmitry.Jemerov, Ilya.Kulakov, alexander.sturm, barry-scott, karolyi, larryv, lemburg, loewis, ncoghlan, ned.deily, r.david.murray, ronaldoussoren, serhiy.storchaka, tsparber, vstinner, wolma
Date 2017-01-13.03:47:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484279278.87.0.773654036758.issue18378@psf.upfronthosting.co.za>
In-reply-to
Content
SSH environment forwarding will propagate this "LC_CTYPE=UTF-8" setting from Mac OS X clients to Linux servers.

At present, that breaks in multiple ways, as CPython will interpret it as being the "C" locale (since Linux servers don't offer a "UTF-8" locale, even when they do offer "C.UTF-8")

PEPs 538 and 540 aim to help CPython itself to deal with that case, but that won't be sufficient to help code that tries to pass the nominal LC_CTYPE setting to the locale module.

Accepting "UTF-8" and interpreting it as functionally equivalent to C.UTF-8 will mean that this setting will at least work as desired on servers that offer C.UTF-8.
History
Date User Action Args
2017-01-13 03:47:59ncoghlansetrecipients: + ncoghlan, lemburg, loewis, barry-scott, ronaldoussoren, vstinner, ned.deily, r.david.murray, Dmitry.Jemerov, larryv, serhiy.storchaka, wolma, Ilya.Kulakov, tsparber, karolyi, alexander.sturm
2017-01-13 03:47:58ncoghlansetmessageid: <1484279278.87.0.773654036758.issue18378@psf.upfronthosting.co.za>
2017-01-13 03:47:58ncoghlanlinkissue18378 messages
2017-01-13 03:47:58ncoghlancreate