What to do when "This character cannot be mapped to encoding MS932" appears when using Javadoc in Eclipse

If you try to output documentation with Javadoc in Eclipse,
What to do if you get stuck with the error "This character cannot be mapped to encoding MS932".

The cause is that the source code and the character code of HTML output by Javadoc are different.

The solution is to specify this properly.

The method is as follows.

In Eclipse, open the "File | Export | Java | JavaDoc", "Configure JavaDoc arguments" dialog,
-encoding UTF-8 -docencoding Windows-31J " -encoding UTF-8 -docencoding Windows-31J " in "Additional Javadoc options".

encoding
Specify the character code specified in the source code
docencoding
Specify the character code you want to use in the document

that's all.

e? I didn't back up my website! ?

He / she will recover even in case of emergency
"WordPress external backup service"

■ Three features
・ You don't have to do it yourself
・ With recovery in case of emergency
・ Backup to external server

コメントを残す