日期:2014-05-16  浏览次数:20641 次

putty 或linux终端 链接HP-UNIX 中文乱码问题
通过putty 或linux终端 链接HP-UNIX,有中文乱码问题
1、locale -a | grep zh
    zh_HK.hkbig5
    zh_HK.utf8
    zh_TW.big5
    zh_TW.ccdc
    zh_TW.eucTW
    zh_TW.utf8
    zh_CN.gb18030
    zh_CN.hp15CN
    zh_CN.utf8

2、export LANG=zh_CN.utf8

在putty中 还要进行其他的设置 选择 Window -> translation  -> receive data assumed to be in which character set 选择utf-8