0

MAC 下 SecureCRT 中文乱码解决方案

 2 years ago
source link: https://www.felix021.com/blog/read.php?2235=
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 中文乱码解决方案

MAC 下 SecureCRT 中文乱码解决方案 不指定

~/.bashrc 中加上以下内容即可:
export LANG=zh_CN.UTF-8
如果 git 命令(如 git diff)下仍有代码,可以再增加
export LESSCHARSET=UTF-8
如果 vim 下依然有乱码,在 .vimrc 中增加
set encoding=utf-8
set termencoding=utf-8
--

参考资料:
- Mac下使用SecureCRT时中文乱码问题解决
  https://blog.csdn.net/BabyFish13/article/details/101463105

- 记一次secureCRT中文乱码解决过程
  https://yunchangyue.github.io/blog/tools/2018/11/16/securecrt/


欢迎扫码关注:

weixin1.png

转载请注明出自 https://www.felix021.com/blog/read.php?2235 ,如是转载文则注明原出处,谢谢:)
RSS订阅地址: https://www.felix021.com/blog/feed.php

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK