IDEA设置环境编码为UTF-8

位置1:Settings --> Editor --> File Encodings

位置2:File--> Settings--> Build,Execution,Deployment --> Compiler --> Java Compiler

编辑内容

-encoding utf-8

位置3:编辑idea64.exe.vmoptions

编辑内容

-Dfile.encoding=UTF-8

位置4:将tomcat编码也设置成 UTF-8

编辑内容

-Dfile.encoding=UTF-8

posted on 2021-01-12 17:32  青华佳园  阅读(513)  评论(0)    收藏  举报

导航