Answer the question
In order to leave comments, you need to log in
Problem with locales on amazon ubuntu 12.04/12.10
Constantly swears that the UTF-8 locale for en_US was not found.
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE=UTF-8
LC_NUMERIC="en_US. UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=POSIX
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF- 8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Have you tried everything that has recently dealt with this problem?
Answer the question
In order to leave comments, you need to log in
The author's problem is LC_CTYPE=UTF-8, which slips his ssh client (most likely a poppy axis) and because of this problem. You need to turn off the slipping by the client and everything will be fine.
At me a problem of the same character, I fight what hour. I understand that there is almost zero practical value, but it is very interesting to understand.
Tell me, please, what's the matter? Here is an example:
:~$ проверка
-bash: $'\320\277\321\200\320\276\320\262\320\265\321\200\320\272\320\260': команда не найдена
:~$ locale
LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
:~$ locale -a
C
C.UTF-8
en_US.utf8
POSIX
ru_RU.utf8
sudo apt-get install language-pack-en // следующие можно не набирать, если первая решит проблему
sudo locale-gen
sudo dpkg-reconfigure locales
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question