Message285360
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. |
|
Date |
User |
Action |
Args |
2017-01-13 03:47:59 | ncoghlan | set | recipients:
+ 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:58 | ncoghlan | set | messageid: <1484279278.87.0.773654036758.issue18378@psf.upfronthosting.co.za> |
2017-01-13 03:47:58 | ncoghlan | link | issue18378 messages |
2017-01-13 03:47:58 | ncoghlan | create | |
|