10

Mac下使用SecureCRT时中文乱码问题解决

 3 years ago
source link: https://blog.csdn.net/BabyFish13/article/details/101463105
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Mac下使用SecureCRT时中文乱码问题解决

同时被 2 个专栏收录
14 篇文章 0 订阅
8 篇文章 0 订阅

MAC自带终端在本地没有乱码问题,使用SecureCRT会乱码;则可以通过如下方式解决。
1、Mac本地设置

nisjdeMacBook-Pro:~ nisj$sudo vim /etc/profile

添加:

export LANG=zh_CN.UTF-8

保存时可能会报:

E45: 'readonly' option is set (add ! to override)

这时
:wq! 强制保存退出,然后退出终端重连!

2、SecureCRT设置
设置SecureCRT编码为UTF-8
Options->Global Options->Default Session->Edit Default Settings...->Appearance,设置成[UTF-8]即可。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK