终端中文显示乱码解决办法 (CentOS 5)

安装中文包后,SSH,telnet终端显示乱码

vi /etc/sysconfig/i18n


将内容改为


LANG=”zh_CN.GB18030″

LANGUAGE=”zh_CN.GB18030:zh_CN.GB2312:zh_CN”

SUPPORTED=”zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en”

SYSFONT=”lat0-sun16″


临时调整文字编码:

:\> export LANG=”en_US”




Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *