IDEA2020出现了控制台输出中文乱码问题,而2017版本没有这个问题,参考以下博客:
转载:https://blog.csdn.net/qq_37267706/article/details/106027687
1.打开 Help —>Edit Custom VM OPtions文件
在最后一行添加
-Dfile.encoding=UTF-8
2.settings—>java compiler
填上-encoding utf-8
IDEA2020出现了控制台输出中文乱码问题,而2017版本没有这个问题,参考以下博客:
转载:https://blog.csdn.net/qq_37267706/article/details/106027687
1.打开 Help —>Edit Custom VM OPtions文件
在最后一行添加
-Dfile.encoding=UTF-8
2.settings—>java compiler
填上-encoding utf-8