LC_CTYPE: cannot change locale (UTF-8)

When connect to centos machine with ssh, you can get below warning.

-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

You need to set environment variable for encoding. Add below lines to /etc/environment file.




Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.