Хелп!
На: locale -a
в списке нету ru_RU.CP1521 (а она мне нужна.)
через LANG=ru_RU.CP1521 <то,что надо> работает
зато на #localedef --charmap=CP1521 --inputfile=ru_RU ru_RU.CP1521
ругается:
/usr/share/i18n/locales/ru_RU:72: LC_MESSAGES: unknown character in field `yesexpr'
/usr/share/i18n/locales/ru_RU:73: LC_MESSAGES: unknown character in field `noexpr'
/usr/share/i18n/locales/ru_RU:78: LC_MONETARY: unknown character in field `currency_symbol'
/usr/share/i18n/locales/ru_RU:101: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:102: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:103: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:104: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:105: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:106: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:107: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:108: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:109: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:110: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:111: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:112: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:113: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:114: LC_TIME: unknown character in field `abday'
/usr/share/i18n/locales/ru_RU:115: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:116: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:117: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:118: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:119: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:120: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:121: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:122: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:123: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:124: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:125: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:126: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/ru_RU:127: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:128: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:129: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:130: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:131: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:132: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:133: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:134: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:135: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:136: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:137: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:138: LC_TIME: unknown character in field `abmon'
LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string
no output file produced because warning were issued
Подскажите, как с этим бороться?
Последние комментарии
- OlegL, 17 декабря в 15:00 → Перекличка 21
- REDkiy, 8 июня 2023 года в 9:09 → Как «замокать» файл для юниттеста в Python? 2
- fhunter, 29 ноября 2022 года в 2:09 → Проблема с NO_PUBKEY: как получить GPG-ключ и добавить его в базу apt? 6
- Иванн, 9 апреля 2022 года в 8:31 → Ассоциация РАСПО провела первое учредительное собрание 1
- Kiri11.ADV1, 7 марта 2021 года в 12:01 → Логи catalina.out в TomCat 9 в формате JSON 1
Очень просто бороться…
# localedef -f CP1251 -i ru_RU ru_RU.cp1251
# locale -a | grep ru