| 
                                                            方法一:
 打开putty主程序,选择window-〉Appearance-〉Font settings-〉Change,选择Fixedsys字体,字符集选择CHINESE_GB2312。
 在window-〉Translation中,Received data assumed to be in which character set中,把Use font encoding改为UTF-8
 如果经常使用,把这些设置保存在session里面,在window-〉Translation中,选中:TReat CJK ambiguous characters as wide和Caps Lock acts as Cyrillic switch即可。
 
 
 方法二:
 编辑/etc/sysconfig/i18n
 把第1句LANG=”zh_CN.UTF-8″改为LANG=”zh_CN.GB18030″,完成后保存,重新登录即可。
 
 
 方法三:
 打开putty,登录成功后,在shell中输入
 export LC_ALL= ‘zh_CN.utf8′
 vi ~/.bash_profile
 LANG=zh_CN.GB18030
 LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN
 export LANG LANGUAGE
 |