idea 出现乱码的集中解决方式

控制台乱码解决方法

  • 在末尾加入这句话 (见下图)

-Dfile.encoding=utf-8

image.png
image.png

注意不要直接在文件中(idea64.exe.vmoptions)改,好多人修改完没有用

2.文件乱码解决方法

image.png

3.编译时候控制台出现乱码的解决方法

  • 1、在末尾加入这句话 (见下图)

-encoding utf-8

image.png

你可能感兴趣的:(idea 出现乱码的集中解决方式)