When generating a Java Doc document today, an error such as the following appears:
Loading the package com.wisdom.test source files ... F:\workspace\stringutils\src\com\wisdom\test\stringutilstest.java:11: encoding GBK non-mapped characters * Animals Next Divisions mei: Pen 堝 stringutils aya Meat crypto Han Cuppacino examination aya? ^ F:\workspace\stringutils\src\com\wisdom\test\stringutilstest.java:12: encoding GBK non-mapped characters * Raccoon Gehu?: Heweina ^ F:\WORKSPACE\STRINGUTILS\SRC\COM\WISDOM\TEST\STRINGUTILSTEST.JAVA:14: encoding GBK non-mapped characters * chain? 悗 ki Adjust ã time: 2012-4-27 Juan Semi 崍 11:27:55 ^ F:\WORKSPACE\STRINGUTILS\SRC\COM\WISDOM\TEST\STRINGUTILSTEST.JAVA:15: encoding GBK non-mapped characters * chain? 悗 ki adjust bang? Heweina |
This project was also generated before the Java doc, but the encoding method is "GBK" so no error, today I changed the code of the project to "UTF-8", the generation of Java doc again when the above error (the above is part), from the error can be clearly seen in the coding problem, Just do not know where to add the specified character encoding, after searching the Internet, found the following solution:
Under VM Options, add the following:
-encoding UTF-8-charset UTF-8
Click Finish.
See the attached image for specific error hints and how to modify them.
"20140113-2" error MyEclipse generating Javadoc: Non-mapped characters encoded GBK