Bug#607138: locales: broken cyrillic in xterm with ru_UA.utf8 locale
basilio
basilio at gmx.com
Sun Jun 12 20:49:10 UTC 2011
12.06.2011 19:56, Josselin Mouette пишет:
> Le dimanche 12 juin 2011 à 17:54 +0200, Julien Cristau a écrit :
>>>> I still don't understand why gdm defines "ru_UA.utf8" and why
>>>> libx11-data doesn't provide an alias contrary to other locales. I am
>>>> therefore reassigning this bug to both these packages.
>>>>
>>> As far as I can understand gdm defines locale during login process
>>> accordingly to the language chosen by user on the login screen. Absence
>>> of proper alias was the main problem I think. Thanks.
>>>
>> I think providing an alias for other locales was a mistake, if it means
>> gdm thinks it's a good idea to do that kind of crap.
> gdm from stable and gdm3 from unstable use foo_BAR.UTF-8.
>
> Maybe you are talking about gdm3 from experimental. And this one gets
> locale information from accountsservice, which in turn extracts it
> directly from the locale data (there is nothing hardcoding foo_BAR.utf8
> instead of foo_BAR.UTF-8, it’s the information as provided by locales).
>
> Cheers,
When I faced this problem my system was squeeze (testing). After some
investigation I understood that it was gdm who set ru_UA.utf8 locale
instead of orthodox ru_UA.UTF-8, so there were two ways to solve the
issue - set proper alias, or set UTF-8 locale after the gdm. I choose to
put a string in my ~./profile and it is still there and it works. I
think that it's a better solution than putting proper alias to the
locale.alias file because X.org updates seem to rewrite it.
But if the gdm now sets locale in format "foo_bar.UTF-8" or guys from
X.org have set alias for ru_UA.utf then there's no problem. And
unfortunately I find neither locale alias nor correct locale from gdm,
at least on my system (I use mix of squeeze/wheezy).
More information about the pkg-gnome-maintainers
mailing list