1. 安装路径下的:idea.exe.vmoptions 增加 -Dfile.encoding=UTF-8 2. Run/Debug Configurations 下的 VM options 文本框中 -Dfile.encoding=UTF-8