смена locale на Linux
написано 12 марта, 2008 - запись из раздела Unix | 2 комментария
[cc lang=»bash»] #localedef —no-archive -c -f CP1251 -i ru_RU ru_RU.CP1251 #export LC_ALL=»ru_RU» #cat /etc/sysconfig/i18n LANG=»ru_RU.CP1251″ SYSFONT=»UniCyr_8x16.psf.gz» SYSFONTACM=»cp1251″ LC_ALL=»ru_RU.CP1251″ #cd /etc/sysconfig/console/ #wget https://itblog.su/wp-content/uploads/2008/03/unicyr_8x16psf.gz #cd /lib/kbd/consolefonts/ #wget https://itblog.su/wp-content/uploads/2008/03/unicyr_8x16psf.gz #locale LANG=ru_RU.CP1251 LC_CTYPE=»ru_RU.CP1251″ LC_NUMERIC=»ru_RU.CP1251″ LC_TIME=»ru_RU.CP1251″ LC_COLLATE=»ru_RU.CP1251″ LC_MONETARY=»ru_RU.CP1251″ LC_MESSAGES=»ru_RU.CP1251″ LC_PAPER=»ru_RU.CP1251″ LC_NAME=»ru_RU.CP1251″ LC_ADDRESS=»ru_RU.CP1251″ LC_TELEPHONE=»ru_RU.CP1251″ LC_MEASUREMENT=»ru_RU.CP1251″ LC_IDENTIFICATION=»ru_RU.CP1251″ LC_ALL= [/cc] UniCyr_8?16.psf.gz