How to solve the garbage idea itself, as well as to solve the garbage code appear?

1: solve the garbage phenomenon idea in the console (3 methods):

The first:

Figure need to find the installation path of the idea:

idea\IntelliJ IDEA 2018.3.2\bin

In following this path there is a file called: idea64.exe.vmoptions

You can add a line of code inside the file to solve the garbage problem:

-Dfile.encoding=UTF-8

Figure:

 

 

The second:

Figure

 

 

 Third:

Figure:

 

 

 

 

 

2: Solving project garbled:

All these places can be set into a unified coding, garbled phenomenon has been resolved Note: Here you can set which modify global

 

 

 

Quick Set-Encoding:

 

Guess you like

Origin www.cnblogs.com/songyinan/p/11695681.html