IDEA 编码格式设置 UTF-8
1.文件编码设置为UTF-8
Editor > File Encodings
2.编译编码设置为utf-8
Build,Execution,Deployment > Complier > Java Complier
按图中设置:-encoding utf-8
3.虚拟机自定义设置(一般可不设置)
VM options:-Dfile.encoding=UTF-8
标签:编码,utf,虚拟机,IDEA,设置,UTF From: https://www.cnblogs.com/dyh004/p/17414063.html