在rhel7中修改字符集的文件是/etc/locale.conf 

[root@node03 ~]# locale -a  | grep zh_CN.utf8
zh_CN.utf8
[root@node03 ~]# cat /etc/locale.conf 
LANG="zh_CN.UTF-8"

在rhel6中修改字符集的文件是/etc/sysconfig/il8n