utf-8 project generates javadoc encoding GBK unmappable characters

Improve api-doc, when using eclipse to generate javadoc, the "unmappable character encoding GBK" is actually a character encoding problem.
Open eclipse, project -> Generate javadoc, select the project you want to output javadoc one by one, and add the following code to the VM setting line in the last step
-encoding utf-8 -charset utf-8


This operation, the output html code does not The "unmappable character encoding GBK" problem occurs, and the html character encoding is set to UTF-8, the problem is completely solved.

Guess you like

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