Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84560 - trunk/tools/boostbook/xsl
From: dnljms_at_[hidden]
Date: 2013-05-30 15:02:31


Author: danieljames
Date: 2013-05-30 15:02:30 EDT (Thu, 30 May 2013)
New Revision: 84560
URL: http://svn.boost.org/trac/boost/changeset/84560

Log:
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.
Text files modified:
   trunk/tools/boostbook/xsl/html-single.xsl | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/tools/boostbook/xsl/html-single.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/html-single.xsl (original)
+++ trunk/tools/boostbook/xsl/html-single.xsl 2013-05-30 15:02:30 EDT (Thu, 30 May 2013)
@@ -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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk