Where can I specify the charset of a javadoc document?

I write javadoc in Polish and I want to define the UTF-8 encoding for my javadoc documentation created by eclipse - how and where can I do this?

+4
source share
2 answers

There are three relevant options for Javadoc:

You should almost never use the same value for -docencoding and -charset , and I don't know why there are two different options for them. Using a different value results in invalid HTML or at least incorrect characters.

+6
source

Right click on your project
Export ...> javadoc
In the third panel write this

-encoding utf8 -docencoding utf8 -charset utf8

enter image description here

+6
source

Source: https://habr.com/ru/post/1444991/


All Articles