CentOS7 xshell中文乱码解决 - yiyixiaozhi/readingNotes GitHub Wiki
CentOS7 xshell中文乱码解决
先尝试修改配置文件
cat /etc/locale.conf
LANG=en_US.utf8
如果重启后执行如下命令发现LANG为空
echo $LANG
就再手动设置下环境变量
export LANG="en_US.utf8"
source /etc/profile
CentOS7 xshell中文乱码解决
先尝试修改配置文件
cat /etc/locale.conf
LANG=en_US.utf8
如果重启后执行如下命令发现LANG为空
echo $LANG
就再手动设置下环境变量
export LANG="en_US.utf8"
source /etc/profile