Hello! Could you please help? Few days ago I got a problem with locale in my OS. It doesn’t print symbols from ru_RU locale correctly anymore.
My locale command show this:
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
LANG=ru
LC_CTYPE=«ru»
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE=«ru»
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES=«ru»
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=
And different applications and commands have problems with symbols. For example ls prints them like this: ''$'\320\260\320\261\320\262\320\263\320\264'
Some applications print them like “?”
Thanks in advance!
I tried both methods and also changing it by settings, but still have the same in locale
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
LANG=ru
LC_CTYPE="ru"
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE="ru"
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES="ru"
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=