ru_RU.CP1251 locale is absent in locale.gen 25 September 2023, 08:07:00 Strange, even be_BY CP1251 and bg_BG CP1251 are there, but no ru_RU.CP1251. It's always included in any other distro's locale.gen file.Why so? Is it possible to add this locale somehow?Thanks.
Re: ru_RU.CP1251 locale is absent in locale.gen Reply #1 – 25 September 2023, 09:44:12 I don't know is such a locale should exist or not, but it does not seems to exist in source code at specific commit or at latest source commit.it's up to "glibc" to add it.do not quote me on this, I have little knowledge in glibc code base.
Re: ru_RU.CP1251 locale is absent in locale.gen Reply #2 – 25 September 2023, 10:49:36 Quote from: TheExplorer – on 25 September 2023, 08:07:00Strange, even be_BY CP1251 and bg_BG CP1251 are there, but no ru_RU.CP1251. It's always included in any other distro's locale.gen file.Why so? Is it possible to add this locale somehow?Thanks.The keymap is part of kbd. (/usr/share/kbd/keymaps/i386/qwerty/ru-cp1251.map.gz)Try adding ru_RU CP1251 to /etc/locale.gen and running locale-genIt reported QuoteGenerating locales... en_GB.UTF-8... done en_GB.ISO-8859-1... done en_US.UTF-8... done ru_RU.CP1251... doneGeneration complete. when I just tried it.No idea if it will actually work or why it's not in the /etc/locale.gen file ?
Re: ru_RU.CP1251 locale is absent in locale.gen Reply #3 – 25 September 2023, 20:04:09 Quote from: gripped – on 25 September 2023, 10:49:36No idea if it will actually work or why it's not in the /etc/locale.gen fileYeah, that's what I thought at first too. Probably other distros simply add it manually? Not sure. Anyway, I'll leave it as it is. I'll just use ru_RU.UTF-8 instead. Thanks.