|
From: Mark W. <ma...@so...> - 2020-06-09 11:56:33
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b35657ab54ed5f25d893f1e3f3777ecf78ee51a9 commit b35657ab54ed5f25d893f1e3f3777ecf78ee51a9 Author: Mark Wielaard <ma...@kl...> Date: Tue Jun 9 12:59:40 2020 +0200 docs: Always generate UTF-8 encoding (cherry picked from commit ab85a400536f239f98351be233a4c1946b7a6133) Diff: --- docs/lib/vg-faq2txt.xsl | 2 +- docs/lib/vg-html-chunk.xsl | 4 +++- docs/lib/vg-html-common.xsl | 5 ++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/lib/vg-faq2txt.xsl b/docs/lib/vg-faq2txt.xsl index 97431bb604..95e94621d3 100644 --- a/docs/lib/vg-faq2txt.xsl +++ b/docs/lib/vg-faq2txt.xsl @@ -17,7 +17,7 @@ <xsl:strip-space elements="*"/> -<xsl:output method="text" encoding="ISO-8859-1" +<xsl:output method="text" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> <xsl:param name="generate.toc"> diff --git a/docs/lib/vg-html-chunk.xsl b/docs/lib/vg-html-chunk.xsl index e504d9bc93..b83af34ce4 100644 --- a/docs/lib/vg-html-chunk.xsl +++ b/docs/lib/vg-html-chunk.xsl @@ -4,10 +4,12 @@ <!-- import the common styles --> <xsl:import href="vg-html-common.xsl"/> - <!-- use our custom html stylesheet --> <xsl:param name="html.stylesheet" select="'vg_basic.css'"/> +<!-- use UTF-8 encoding --> +<xsl:param name="chunker.output.encoding" select="'UTF-8'"/> + <!-- custom header for html documentation --> <xsl:template name="header.navigation"> diff --git a/docs/lib/vg-html-common.xsl b/docs/lib/vg-html-common.xsl index 4fa7212832..7ffb6824a4 100644 --- a/docs/lib/vg-html-common.xsl +++ b/docs/lib/vg-html-common.xsl @@ -15,9 +15,8 @@ <!-- ../current/.. in docs/Makefile.am, since the latter is a --> <!-- symlink to the former, at least on SuSE 10.0. --> - -<!-- use 8859-1 encoding --> -<xsl:output method="html" encoding="ISO-8859-1" indent="yes"/> +<!-- use UTF-8 encoding --> +<xsl:output method="html" encoding="UTF-8" indent="yes"/> <!-- set various parameters --> <xsl:param name="use.id.as.filename" select="'1'"/> |