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 serhiy.storchaka
Recipients lemburg, loewis, serhiy.storchaka
Date 2013-12-20.15:24:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1781450.QVIuIuhGfQ@raxxla>
In-reply-to <>
> Well, yes, but only because you are removing the @-modifiers. I don't
> think that's correct, since e.g. the string formatting used for
> numbers is different with the modifier.

All the @-modifiers except euro are applied to the locale, not the encoding. 
And Python removes all the @-modifiers, e.g. latin and cyrillic which specify 
the script.

> If you keep the modifiers, but move them to the end of the locale
> string you should get the correct behavior, e.g.
> -    'sd':                                   'sd_IN@devanagari.UTF-8',
> +    'sd':                                   'sd_IN.UTF-8@devanagari',
> (modulo perhaps the spelling of "UTF-8")

Recent the locale.alias file changes these entities:

sd:						sd_IN.UTF-8
sd_IN.utf8:					sd_IN.UTF-8
sd@devanagari:					sd_IN@devanagari.UTF-8
sd_IN@devanagari:				sd_IN@devanagari.UTF-8
sd_IN@devanagari.utf8:				sd_IN@devanagari.UTF-8
Date User Action Args
2013-12-20 15:24:10serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, loewis
2013-12-20 15:24:10serhiy.storchakalinkissue20027 messages
2013-12-20 15:24:10serhiy.storchakacreate