方法一:
打开putty主 程序,
window-Appearance-Font settings-Change...
选择Fixedsys字体,字符集选择CHINESE_GB2312
window-Appearance -Translation,Received data assumed to be in which character set
把Use font encoding改为UTF-8
在shell中输入:export LC_ALL='zh_CN.utf8'
方法二:
vi /etc/sysconfig/i18n
将LANG="zh_CN.UTF-8"改为LANG="zh_CN.GB18030"
打开putty主 程序,
window-Appearance-Font settings-Change...
选择Fixedsys字体,字符集选择CHINESE_GB2312
window-Appearance -Translation,Received data assumed to be in which character set
把Use font encoding改为UTF-8
在shell中输入:export LC_ALL='zh_CN.utf8'
方法二:
vi /etc/sysconfig/i18n
将LANG="zh_CN.UTF-8"改为LANG="zh_CN.GB18030"