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
  • Star 15 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • 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
@ibnusulaiman83
Copy link

thanks bro

@DCZ511
Copy link

DCZ511 commented Mar 24, 2019

Excellent!

@Lunpopo
Copy link

Lunpopo commented Mar 28, 2019

perfect, thank u

@hungdev
Copy link

hungdev commented Apr 1, 2019

Nice! Thanks bro.

@theabhisheksinha
Copy link

thanks

@dudebing99
Copy link

It works for me. Thanks.

@fengerzh
Copy link

Works for me. Thanks!

@pfan123
Copy link

pfan123 commented Jul 10, 2019

good ! Thanks!

@abbasghulam
Copy link

Thanks!

@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