idea.exe.vmoptions文件和idea64.exe.vmoptions文件,在其最后一行添加
-Dfile.encoding=UTF-8;针对的是terminal中的配置是cmd;
如果是Git乱码,修改git安装路径下的bash.bashrc文件,在文件最后添加
export LANG=“zh_CN.UTF-8”
export LC_ALL=“zh_CN.UTF-8”;
07-30
402
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
idea.exe.vmoptions文件和idea64.exe.vmoptions文件,在其最后一行添加
-Dfile.encoding=UTF-8;针对的是terminal中的配置是cmd;
如果是Git乱码,修改git安装路径下的bash.bashrc文件,在文件最后添加
export LANG=“zh_CN.UTF-8”
export LC_ALL=“zh_CN.UTF-8”;