在idea的安装目录下的bin/idea.exe.vmoptions文件和idea64.exe.vmoptions文件的末尾另起一行添加 -Dfile.encoding=UTF-8 转载于:https://www.cnblogs.com/zhousiwei/p/10625647.html