Skip to content

Instantly share code, notes, and snippets.

@hungdev
Forked from HJianBo/LC_CTYPE.txt
Created April 1, 2019 16:30
Show Gist options
  • Save hungdev/e64ef3387d67abb2503179631dc1d277 to your computer and use it in GitHub Desktop.
Save hungdev/e64ef3387d67abb2503179631dc1d277 to your computer and use it in GitHub Desktop.
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment