Skip to content

Instantly share code, notes, and snippets.

@mes01
Forked from thanksdanny/LC_CTYPE.txt
Created October 31, 2017 16:27
Show Gist options
  • Save mes01/c8634bd4f94f21e4f4259e257509d68f to your computer and use it in GitHub Desktop.
Save mes01/c8634bd4f94f21e4f4259e257509d68f 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
@YakirGiladi
Copy link

Thanks! It works!

@alexmasyukov
Copy link

Thanks! It fix my problem.

@talgaled
Copy link

thx where do i put the file??

@jerryoung
Copy link

thx

@ysonggit
Copy link

it works, thank you

@ctibordudahcl
Copy link

Perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment