Mike FABIAN added the comment:

Serhiy> The /usr/share/X11/locale/locale.alias file in Ubuntu 12.04 LTS
Serhiy> contains ks...@devanagari.utf-8 and sd...@devanagari.utf-8
Serhiy> entities.

Yes, I know, that’s why I wrote that the Python code inherited this mistake
from X.org.

Serhiy> While the encoding is expected to be before the modifier, if
Serhiy> there are systems with ks...@devanagari.utf-8 or
Serhiy> sd...@devanagari.utf-8 locales we should support these weird case.

There are no such systems really, in X.org this is just a mistake.
glibc doesn’t write it like this and it is agains the specification
here:

http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html#tag_002

     [language[_territory][.codeset][@modifier]]

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5815>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to