I am trying to generate Java documentation in Eclipse. The source files are UTF-8 encoded and contain some umlauts. The resulting HTML files do not specify an encoding and do not use HTML entities, so the umlauts aren’t displayed correctly in any browser.
What can I do to change this?
See the -charset, -encoding and -docencoding flags for the javadoc command.
-encodingspecifies the input encoding-docencodingspecifies the output encoding-charsetmakes javadoc include a meta tag with encoding info