MyEclipse console input Chinese garbled solution

Modify the configuration file of MyEclipse. In the installation directory of myeclipse, myeclipse.ini is this configuration file. Open it and add a sentence:

-Dfile.encoding=UTF-8

Ok, restart MyEclipse, you can enter Chinese in the console to display Chinese.


PS: Using this method may cause the input of java in the command line to be garbled. There is no way. If you want to use the console of the command line, you can change it.

Guess you like

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