- 查看当前字符集
locale
- 查看有没有zh_CN.utf8
locale -a |grep CN
- 安装 langpacks-zh_CN
yum install -y langpacks-zh_CN
- 配置
> /etc/locale.conf; echo 'LANG="zh_CN.UTF-8"' >>/etc/locale.conf
- 重启系统
shutdown -r now
2021-09-20 06:05:09
locale
locale -a |grep CN
yum install -y langpacks-zh_CN
> /etc/locale.conf; echo 'LANG="zh_CN.UTF-8"' >>/etc/locale.conf
shutdown -r now
下一篇:Unicode数据库