Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save flayder/b03904163244741cd82b66358dc33319 to your computer and use it in GitHub Desktop.
Save flayder/b03904163244741cd82b66358dc33319 to your computer and use it in GitHub Desktop.
bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Решение
#Открываем файл
mcedit /etc/environment
#Вставляем в файл
LC_CTYPE="en_US.UTF-8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment