putty SSH连到CentOS显示乱码的解决方法

使用(版本0.62)通过SSH连接到CentOS(版本6.4)时,在客户端显示中文时会显示乱码。为了让putty显示正常,需要做如下操作:

1. 在上设置 /etc/sysconfig/i18n为如下内容

LANG="zh_CN.UTF-8"

2. 在putty的PuTTY Configuration窗口中设置如下:

1. Window->Appearance->font setting
设置字体为:新宋体,10号

2. Window->Translation->Remote character set
设置值为:UTF-8

 这样设置后的putty通过SSH连接到CentOS上,中文字符正常显示,不再出现

Update:

这个设置可能会引起其他软件的一些问题,比如:wget下载进度条会变成多行显示.

Tuesday, March 18, 2014 | Unix & Linux

文章评论

No comments posted yet.

发表评论

Please add 1 and 3 and type the answer here:

关于博主

  一枚成分复杂的网络IT分子,属于互联网行业分类中的杂牌军。