putty 中文 乱码

来源:互联网 发布:mac设置不休眠不断网 编辑:程序博客网 时间:2024/05/04 23:39
打开putty主 程序,选择window-〉Appearance-〉Font settings-〉Change...,选择新宋体字体,字符集选择CHINESE_GB2312。在window-〉Appearance -〉Translation中,Received data assumed to be in which character set 中,把Use font encoding改为UTF-8,选font has Xwindow encoding。如果经常使用,把这些设置保存在session里面. 现在打开putty,登录成功后,在shell中输入:export LC_ALL='zh_CN.utf8'
原创粉丝点击