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.
Change History (9)
Changed 8 years ago by tonin
comment:6 Changed 8 years ago by tonin
- Resolution set to fixed
- Status changed from assigned to closed
comment:7 Changed 7 years ago by anonymous
- Resolution fixed deleted
- Status changed from closed to reopened