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 mfabian
Recipients Dmitry.Jemerov, georg.brandl, groodt, lemburg, loewis, mfabian, r.david.murray, rg3, serhiy.storchaka, vstinner
Date 2013-11-11.04:32:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384144334.0.0.266251209557.issue5815@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy> The /usr/share/X11/locale/locale.alias file in Ubuntu 12.04 LTS
Serhiy> contains ks_IN@devanagari.UTF-8 and sd_IN@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_IN@devanagari.UTF-8 or
Serhiy> sd_IN@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]]
History
Date User Action Args
2013-11-11 04:32:14mfabiansetrecipients: + mfabian, lemburg, loewis, georg.brandl, vstinner, r.david.murray, rg3, Dmitry.Jemerov, serhiy.storchaka, groodt
2013-11-11 04:32:14mfabiansetmessageid: <1384144334.0.0.266251209557.issue5815@psf.upfronthosting.co.za>
2013-11-11 04:32:13mfabianlinkissue5815 messages
2013-11-11 04:32:13mfabiancreate