Javadoc time garbled-encoding GBK non-mapped characters

Source: Internet
Author: User

1, right-click in the project list, select Export, and then in the Export dialog box, select Javadoc under Java to submit to the next step.
There are two places to note in the Javadoc Generation dialog box:
Javadoc command: The bin/javadoc.exe of the JDK should be selected
Destination: To create a saved path for a document, you can choose freely.
Press Finish to submit to start generating the document.

2, select by menu: File->export (export from file),
The rest of the steps are the same as the first method.

3, select the project you want to generate the document in, then select it with the menu,
Project->generate Javadoc directly into the Javadoc Generation dialog, the remaining steps are the same as the first method at the beginning of the Javadoc Generation dialog box.

If you are prompted: encode GBK characters that are not mapped
eclipse generates Javadoc garbled problem resolution
If the source file encoding uses UTF-8 encoding, then the resulting document can be garbled, the workaround is as follows:
Generate Javadoc, in the Third dialog box, in the "Extra Javadoc Options" text box, add
-encoding UTF-8-charset UTF-8

Javadoc time garbled-encoding GBK non-mapped characters

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.