Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify character encoding in HTML HEAD
This adds an explicit declaration of the UTF-8 character encoding to the Qt generated HTML dump (since we've just explicitly requested UTF-8 conversion from QString, this declaration should be correct), c.f. http://www.w3.org/International/O-charset This patch fixes incorrect characters (e.g., A-hat for tab) in, e.g., Firefox's default rendering of exported HTML. Applying the same fix to both HTML and XHTML export even though Firefox and WebKit appear to assume UTF-8 for XHTML even without an explicit declaration.
- Loading branch information
1 parent
1024e5d
commit f467f96
Showing
1 changed file
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters