Skip to content


SSH,telnet终端中文显示乱码解决办法 (CentOS 5.2 )


vi /etc/sysconfig/i18n


LANG=”en_US.UTF-8″
SYSFONT=”latarcyrheb-sun16″

修改原内容为

LANG=”zh_CN.GB18030″
LANGUAGE=”zh_CN.GB18030:zh_CN.GB2312:zh_CN”
SUPPORTED=”zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en”
SYSFONT=”lat0-sun16″

用yum安装中文字体

yum install fonts-chinese.noarch

断开ssh重新连

date

2009年 09月 21日 星期一 13:47:53 CST

Posted in linux 维护优化, 技术.

Tagged with .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.