linlu11 的博客

MSYS中文乱码解决

Minimal GNU(POSIX)system on Windows,是一个小型的GNU环境,包括基本的bash ,make等等。Windows下最优秀的GNU环境。
具体文件可以在官方网站下载:
http://sourceforge.net/projects/mingw/files/
--------------------中文乱码解决方案--------------------
#ls显示中文不正常解决方法:
/etc/profile
#添加
alias ls='ls --show-control-chars -F --color=tty'
#输入中文不正常解决方法:
/etc/inputrc.default
~/.inputrc
#更改
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off
---------------------------------------------------------
重新启动msys后中文乱码问题解决

目前google code 存在 msys-cn 中文化项目
http://code.google.com/p/msys-cn/

posted on 2010-05-16 12:24  linlu11  阅读(939)  评论(0编辑  收藏  举报

导航