打开 Help/Edit Custom VM Options
添加
-Dfile.encoding=UTF-8
再在项目 的 run configuration 中的 VM Options 添加
问题解决
关于idea控制台乱码的解决方案
原文:https://www.cnblogs.com/Lorentz-Z/p/12252774.html