nixp.ru v3.0

25 мая 2017,
четверг,
00:41:43 MSK

DevOps с компанией «Флант»
Antern написал 22 ноября 2006 года в 02:48 (562 просмотра) Ведет себя как мужчина; открыл 20 тем в форуме, оставил 84 комментария на сайте.

Хелп!

На: 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

Подскажите, как с этим бороться?

Dr. Evil

Очень просто бороться…

# localedef -f CP1251 -i ru_RU ru_RU.cp1251

# locale -a | grep ru