Skip to content

Instantly share code, notes, and snippets.

@twiceyuan
Forked from jampajeen/LC_CTYPE.txt
Last active August 2, 2019 18:29
Show Gist options
  • Save twiceyuan/dc40017c5c8b50bb022d3ddc99c89d55 to your computer and use it in GitHub Desktop.
Save twiceyuan/dc40017c5c8b50bb022d3ddc99c89d55 to your computer and use it in GitHub Desktop.
[Linux 编码配置] Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory #Linux

file

vi /etc/environment

add these lines...

LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@zhanglintc
Copy link

Thanks, worked for me, too.

@vijengit
Copy link

yes It worked for me as well

@josecard
Copy link

Worked for me too

@rpuglielli
Copy link

Thanks.
That worked for me 👍

@gdevlugt
Copy link

Thanks!

@dennysq
Copy link

dennysq commented Oct 23, 2018

Yes, it works!

@abbsmile
Copy link

Thanks!

@acegilz
Copy link

acegilz commented Oct 29, 2018

Thanks

@sineld
Copy link

sineld commented Nov 7, 2018

Thanks.

@fauzan-n
Copy link

Thank You!!

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