On Thu, Jan 12, 2017 at 04:25:56PM +0100, Victor Stinner 
<[email protected]> wrote:
> 2017-01-12 9:45 GMT+01:00 INADA Naoki <[email protected]>:
> > When using en_US.UTF-8 as fallback, pleas override only LC_CTYPE,
> > instead of LC_ALL.
> > As I described in other thread, LC_COLLATE may cause unintentional 
> > performance
> > regression and behavior changes.
> 
> Does it work to use a locale with encoding A for LC_CTYPE and a locale
> with encoding B for LC_MESSAGES (and others)? Is there a risk of

   It does when B is a subset of A (ascii and koi8; ascii and utf8, e.g.)

> mojibake? Or do we expect that the POSIX locale speaks ASCII, and so
> it should work for use UTF-8 for LC_CTYPE since UTF-8 is able to
> decode messages encoded ASCII?

   That works for me:

$ echo $LC_CTYPE
ru_RU.UTF-8
$ echo $LC_COLLATE
ru_RU.UTF-8
$ echo $LANG
C
$ date
Thu Jan 12 19:06:13 MSK 2017

> Victor

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            [email protected]
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to