1.locale命令查看系统字符集

Centos7支持中英文字符集的相互切换

2.cat /etc/locale.conf

当前系统为英文字符,需要切换到中文字符

Centos7支持中英文字符集的相互切换

3.echo "LANG=zh_CN.utf8" > /etc/locale.conf

cat /etc/locale.conf

Centos7支持中英文字符集的相互切换

4.重启系统 reboot

5.中文切换英文是一样操作步骤

 

相关文章:

  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-09-11
  • 2022-02-17
猜你喜欢
  • 2021-09-15
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2021-04-11
  • 2022-12-23
  • 2021-12-15
相关资源
相似解决方案