Use US-ASCII for single page html.

Same as chunked html. We use ASCII because using UTF-8 can go wrong when a
server is set up to specify another encoding (this does happen). `xsltproc`
will encode all non-ASCII characters as html entities, so nothing will be lost.

[SVN r84560]
This commit is contained in:
Daniel James 2013-05-30 19:02:30 +00:00
parent 92e5116901
commit 0d12037b77

View File

@ -16,8 +16,7 @@
<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/html/math.xsl"/>
<!-- Override the encoding to the more universally usefull utf8. -->
<xsl:output method="html" encoding="UTF-8" indent="no"/>
<xsl:output method="html" encoding="US-ASCII" indent="no"/>
<!-- We have to make sure that our templates override all
docbook templates. Therefore, we include our own templates