打开idea安装地址\bin中idea.exe.vmoptions 和idea64.exe.vmoptions 打开文件在最后加上 -Dfile.encoding=UTF-8 然后就好了 此方法只能解决idea文件里面的乱码