【工具】mac下使用secure CRT时中文乱码解决方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/bible_reader/article/details/82697517

mac下使用secure CRT时中文乱码解决方法


需要两步解决问题:

1、设置SecureCRT编码为UTF-8

Options->Global Options->Default Session->Edit Default Settings...->Appearance

2、设置LANG环境变量

打开终端

$ sudo vi /etc/profile ,打开文件,最后一行添加

export LANG=zh_CN.UTF-8

猜你喜欢

转载自blog.csdn.net/bible_reader/article/details/82697517