Centos7支持中英文字符集的相互切换
1.locale命令查看系统字符集
2.cat /etc/locale.conf
当前系统为英文字符,需要切换到中文字符
3.echo "LANG=zh_CN.utf8" > /etc/locale.conf
cat /etc/locale.conf
4.重启系统 reboot
5.中文切换英文是一样操作步骤
1.locale命令查看系统字符集
2.cat /etc/locale.conf
当前系统为英文字符,需要切换到中文字符
3.echo "LANG=zh_CN.utf8" > /etc/locale.conf
cat /etc/locale.conf
4.重启系统 reboot
5.中文切换英文是一样操作步骤