[转载]Putty中文乱码解决方法

以下解决方案内容转自百草园的文章<<putty 中文乱码解决方法>>

 

方法一:

  1. 打开putty主程序,选择window-〉Appearance-〉Font settings-〉Change...,选择Fixedsys字体,字符集选择CHINESE_GB2312。
  2. 在window-〉Appearance -〉Translation中,Received data assumed to be in which character set 中,把Use font encoding改为UTF-8如果经常使用,把这些设置保存在session里面.
  3. 现在打开putty,登录成功后,在shell中输入:export LC_ALL='zh_CN.utf8'

方法二:

  1. 编辑/etc/sysconfig/i18n
  2. 将第1句“LANG="zh_CN.UTF-8"”改为“LANG="zh_CN.GB18030"”,完成后保存重新登录就可以显示正常了

 

笔者的问题截图:

image

修改之后:

image

 

问题解决.

 

参考资料

===================

putty 中文乱码解决方法

http://koda.iteye.com/blog/219494

posted on 2013-06-08 17:40  中道学友  阅读(375)  评论(0编辑  收藏  举报

导航

技术追求准确,态度积极向上