其實只需要一步即可: 在window-〉Translation中,character set 中,把Use font encoding改為UTF-8,其他不需要改動(按照方法一改動之后可能大寫字母顯示會編程亂碼)。 ###方法一: 打開putty主程序,選擇window-〉Appearance-〉Font settings-〉Change Settings,選擇Fixedsys字體,字符集選擇CHINESE_GB2312。在window-〉Appearance-〉 Translation中,Received data assumed to be in which character set 中,把Use font encoding改為UTF-8如果經常使用,把這些設置保存在session里面。 保存方法:再做完以上操作的同時選中以下兩項: 在window-〉Appearance-〉 Translation中,選中:TReat CJK ambiguous characters as wide和Caps Lock acts as Cyrillic switch即可。
##方法三: 打開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