Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76503 - trunk/tools/boostbook/xsl
From: grafikrobot_at_[hidden]
Date: 2012-01-15 01:07:43


Author: grafik
Date: 2012-01-15 01:07:41 EST (Sun, 15 Jan 2012)
New Revision: 76503
URL: http://svn.boost.org/trac/boost/changeset/76503

Log:
Override the output encoding to fix problems with having it mismatch the webserver encoding. Switched to UTF-8 as that's the most useful in the long run.
Text files modified:
   trunk/tools/boostbook/xsl/html-single.xsl | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/tools/boostbook/xsl/html-single.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/html-single.xsl (original)
+++ trunk/tools/boostbook/xsl/html-single.xsl 2012-01-15 01:07:41 EST (Sun, 15 Jan 2012)
@@ -15,6 +15,10 @@
     href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
   <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"/>
+
   <!-- We have to make sure that our templates override all
        docbook templates. Therefore, we include our own templates
        instead of importing them. In order for this to work,


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