Home
Sign Up
Sign In
V2EX
›
macOS
请问各位 V 友,OS X 英文环境下,如何解决中文乱码问题?比如中文文件名在 shell 中 ls 显示乱码;vim 输入中文乱码,大家有什么好的解决办法?
runcelim
·
May 11, 2014
· 6749 views
This topic created in 4579 days ago, the information mentioned may be changed or developed.
我的vim中文输入编码解决方法,.vimrc中添加
set encoding=utf-8
set fileencoding=utf-8
set fileencodings=utf-8,gbk
乱码
utf
set
1 replies
•
2014-05-11 12:07:54 +08:00
lululau
May 11, 2014
1
1
echo -e '\nexport LANG=zh_CN.UTF-8' >> ~/.bashrc
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
918 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 21:25
·
PVG 05:25
·
LAX 13:25
·
JFK 16:25
♥ Do have faith in what you're doing.
❯