[Bug 1853586] Re: Cannot add locale CP1215 (lowcase)
Gunnar Hjalmarsson
1853586 at bugs.launchpad.net
Fri Nov 22 14:29:17 UTC 2019
Yes, the locale-gen script requires that you use the real name according
to /usr/share/i18n/SUPPORTED. But once ru_RU.CP1251 has been generated,
glibc recognizes both ru_RU.CP1251 and the alias ru_RU.cp1251. For
instance you can confirm it with:
locale -a | grep ru
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1853586
Title:
Cannot add locale CP1215 (lowcase)
Status in glibc package in Ubuntu:
New
Bug description:
I try add locale via saltstack. In salt's module locale name is normalizing, and
it will transform from 'CP1251' to 'cp1215'
When I tried aaply state, I got error:
# Error: 'ru_RU.cp1251' is not a supported language or locale
Then I try manual do the same..
~# locale-gen ru_RU.cp1251
Error: 'ru_RU.cp1251' is not a supported language or locale
But upper case, all fine
~# locale-gen ru_RU.CP1251
Generating locales (this might take a while)...
ru_RU.CP1251... done
Generation complete.
This affected on Ubuntu 16.04, 18.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1853586/+subscriptions
More information about the foundations-bugs
mailing list