idea--->help ---> Edit Custom VM Options...

添加
-Dfile.encoding=utf-8
本文介绍如何在IntelliJ IDEA中设置默认文件编码为UTF-8,以避免中文乱码问题。通过修改Custom VM Options,添加-Dfile.encoding=utf-8参数实现。
idea--->help ---> Edit Custom VM Options...

添加
-Dfile.encoding=utf-8
4061
1311
514

被折叠的 条评论
为什么被折叠?