mac 终端中文乱码

第一步  locale  看看有无相关的设置

第二步 若没有则  vi ./bash_profile

export LC_ALL=en_US.UTF-8  
export LANG=en_US.UTF-8

第三步 source /.bash_profile

发布了267 篇原创文章 · 获赞 36 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/qq_40270754/article/details/99088955