Javadoc generating Error "encoded GBK non-mapped characters"

Source: Internet
Author: User

When using Eclipse for Javadoc export, the hint "encoding GBK non-mapped characters", should be the Chinese annotation eclipse, need to pass the encoding set when calling Javadoc.exe to tell it what encoding to use to generate Javadoc document.

Open eclipse,project–> export–> Javadoc one item you want to output the Javadoc project, add the following code to the VM Setup line in the last step

-encoding Utf-8-charset Utf-8

After the above operation, the output of the HTML code does not occur "encoding GBK non-mapped characters" problem, and the HTML character encoding is set to UTF-8, the problem is completely resolved.

Excerpt from: http://my.oschina.net/tiancai/blog/155299

Javadoc generating Error "encoded 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: info-contact@alibabacloud.com 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.