复制代码
代码如下:
LANG="zh_CN.UTF-8"
2. 在putty的PuTTY Configuration窗口中设置如下:
复制代码
代码如下:
1. Window->Appearance->font setting
设置字体为:新宋体,10号
2. Window->Translation->Remote character set
设置值为:UTF-8
设置字体为:新宋体,10号
2. Window->Translation->Remote character set
设置值为:UTF-8
这样设置后的putty通过SSH连接到CentOS上,中文字符正常显示,不再出现中文乱码。




![RedHat服务器上[Errno 5] OSError: [Errno 2]的解决方法](https://img.pc-daily.com/uploads/allimg/4752/11135115c-0-lp.png)

