centos8上安装中文字符集

 yum install glibc-common
 yum install -y langpacks-zh_CN
 vim /etc/locale.conf   # 修改这个文件
    LANG=zh_CN.utf8
source /etc/locale.conf
原文地址:https://www.cnblogs.com/kaishirenshi/p/12669353.html