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
@TardencillaRuiz
Copy link

Thanks! bro.

@duclm2609
Copy link

It works perfectly! Thanks bro.

@karify98
Copy link

karify98 commented Sep 10, 2019

it work for me on Centos 7 :]] many thanks

@nanthanwa
Copy link

thank you, it works perfectly :)

@ninjanerdweb
Copy link

Great!
That's what I was missing about old school internet: less ads and more information.

@marcioeric
Copy link

Thank you <3

@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