Created
August 20, 2014 02:27
-
-
Save webin/38c59d01cb2e9a2b4cb9 to your computer and use it in GitHub Desktop.
解决Mac ssh终端 zoc乱码问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 经过这两天的尝试,最终决定使用zoc作为mac下的ssh终端编辑器,zoc作为ssh连接工具还不错,主要还能支持多窗口。。。 | |
| 不过在使用过程中发现了不支持中文,后来经过一番摸索, | |
| 对比了mac自带的终端,最终通过修改/etc/profile 来解决中文乱码的问题。 | |
| 在/etc/profile最后加入一行命令即可。 | |
| export LANG=zh_CN.UTF-8 | |
| 连接的时候字符编码改成utf-8即可。 | |
| 修改/etc/profile 提示文件只读修改权限即可。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问,主机是GBK,不能改,怎么支持