Подключение
Добавить в файл ~/.bashrc
1
2
3
|
export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 |
Установка локали
Проблема:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Установка ru_RU.CP1251:
1
|
localedef --no-archive -c -i ru_RU -f CP1251 ru_RU.CP1251 |
Проверка:
1
2
3
4
5
6
7
|
locale -a | grep ru_RU ru_RU ru_RU.cp1251 ru_RU.iso88595 ru_RU.koi8r ru_RU.utf8 |