Idea console Chinese garbled solution

1. Change the bin\idea.exe.vmoptions file in the intellij installation directory under windows

Add -Dfile.encoding=UTF-8 as shown below:



 

2. Set the encoding of IDEA server as follows:

tomcat server -- >server->VM options

Set VM options to -Dfile.encoding=UTF-8 as shown below:



 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326692626&siteId=291194637