远程登陆Centos时,出现"UTF-8" Warning
WARNING: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
修复
修改 /ect/environment
文件,添加以下行:
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
下次SSH不再出现该错误。
远程登陆Centos时,出现"UTF-8" Warning
WARNING: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
修改 /ect/environment
文件,添加以下行:
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
下次SSH不再出现该错误。