[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xml2xhtml.xsl: add UTF8 encoding
From: |
Akim Demaille |
Subject: |
Re: xml2xhtml.xsl: add UTF8 encoding |
Date: |
Sun, 14 Oct 2018 18:54:33 +0200 |
> Le 14 oct. 2018 à 15:15, Jannick <address@hidden> a écrit :
>
> As requested below here the patch to include the UTF8 encoding in
> xml2xhtml.xslt. It should avoid garbled display of the right arrow in rules.
Installed. Thanks again!
commit 20a6c3175fb5c8e636f43bfcfdebe4a954116121
Author: Jannick <address@hidden>
Date: Sun Oct 14 15:15:34 2018 +0200
xml2xhtml.xsl: add UTF-8 encoding
To make arrows appear nicely in the browser. Currently it is shown as
some garbled something in mine (Firefox).
* data/xslt/xml2xhtml.xsl: here.
diff --git a/data/xslt/xml2xhtml.xsl b/data/xslt/xml2xhtml.xsl
index 12c99eb1..24c7854c 100644
--- a/data/xslt/xml2xhtml.xsl
+++ b/data/xslt/xml2xhtml.xsl
@@ -38,6 +38,7 @@
<xsl:template match="/">
<html>
<head>
+ <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<title>
<xsl:value-of select="bison-xml-report/filename"/>
<xsl:text> - GNU Bison XML Automaton Report</xsl:text>