Eclipse default encoding GBK changed to UTF-8

Change the default encoding of the eclipse project from GBK to UTF-8, and modify the default encoding in the eclipse configuration file (test by yourself).
The specific method:
in the eclipse installation directory, add the last line in the eclipse.ini file:
-Dfile.encoding=utf-8  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326050378&siteId=291194637