Skip to content

Instantly share code, notes, and snippets.

@thanksdanny
Forked from jampajeen/LC_CTYPE.txt
Created December 27, 2016 07:46
Show Gist options
  • Save thanksdanny/332ca54e46bf96a569ce5d292be52200 to your computer and use it in GitHub Desktop.
Save thanksdanny/332ca54e46bf96a569ce5d292be52200 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
@lawkai
Copy link

lawkai commented Apr 14, 2018

works for me too! thanks!

@pearlboy
Copy link

thank you

@lukedesu
Copy link

lukedesu commented Jul 8, 2020

thanks

@mumblehappyfeet
Copy link

Thank you.

@linnabrown
Copy link

It appears in the RedHat server, so I do not found /etc/environment.
Also, I do not have the permission to edit the file in /etc/

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