linux中文支持

centos系统中文支持配置:

1.系统中必须安装中文语言包

yum -y groupinstall chinese-support

2.修改环境变量 vi $HOME/.bash_profile

export LANG="zh_CN.UTF-8"

使环境变量生效:source $HOME/.bash_profile

3.xshell终端乱码:

原文地址:https://www.cnblogs.com/itrain/p/8963616.html