Skip to content

Instantly share code, notes, and snippets.

@HJianBo
Forked from jampajeen/LC_CTYPE.txt
Created November 7, 2017 02:02
Show Gist options
  • Save HJianBo/e141a666222f65e919e7362a81e0e26d to your computer and use it in GitHub Desktop.
Save HJianBo/e141a666222f65e919e7362a81e0e26d 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
@doanxuantambk
Copy link

Great!
Thanks bro.

@erselbey
Copy link

Thank you man!

@Ernar11
Copy link

Ernar11 commented Nov 20, 2019

Works
Thanks yo

@freeeflyer
Copy link

Thanks !!!

@Teemu11
Copy link

Teemu11 commented Jan 27, 2020

There are many "solutions" to this issue on internet, this one is the one that actually works on CentOS 7

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