Q: I can't input Chinese/Japanese/Umlauts/Accents, why?
A: First of all, make sure your encoding settings is correct. For example, there are several encoding standards for Chinese, you need to know which one is used on your system. If you are running a local session, unicode is the standard of Mac OS X. To enable inputing unicode characters in your shell, put this in your ~/.inputrc
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
If you are running a telnet session, be sure you turned on the 8-bit data path. Try using "telnet -8 yourhost" in your command.
----------------------------------------------------
1 我使用 telnet -8 hostname登录
2 touch ~/.inputrc
3 open -e ~/.inputrc
4 加入如下内容
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
5 重启iterm2
但,中文依然乱码
故在此请教各位
谢谢
Felix Zhao
2012/3/3 Zhao Quan <felix...@gmail.com>:
没用吧。需要luit -encoding gbk
--
Wu Yongwei
URL: http://wyw.dcweb.cn/