Input charset used for htmldoc should not be trac default
|Reported by:||Tonin||Owned by:||Tonin|
As we know, htmldoc isn't utf-8 compatible. However, quite a lot of Trac site these days are using utf-8 as default_charset. This parameter is needed so that utf-8 encoded comments in subversion are rendered correctly under the source browser.
So using this same default_charset as encoding for input feeded to htmldoc is problematic. We'd better use the output charset for this purpose.
See attached patch as proposed solution. I also added a html meta tag containing this charset so that eventually newer version of htmldoc will correctly use it.