在rhel7中修改字符集的文件是/etc/locale.conf
[root@rhel7 ~]# cat /etc/locale.conf LANG="zh_CN.UTF-8"
在rhel6中修改字符集的文件是/etc/sysconfig/il8n