]> granicus.if.org Git - docbook-dsssl/commitdiff
Make UTF-8 the default for XHTML
authorNorman Walsh <ndw@nwalsh.com>
Thu, 14 Nov 2002 16:05:15 +0000 (16:05 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 14 Nov 2002 16:05:15 +0000 (16:05 +0000)
xsl/xhtml/html2xhtml.xsl

index a617b642ba22fb9c349225e8da7ff9082f8d7ab8..93b99c15d5827b31bbdd79329fd7e70385570360 100644 (file)
@@ -20,6 +20,7 @@
   <xsl:copy>
     <xsl:copy-of select="@*"/>
     <xsl:attribute name="method">xml</xsl:attribute>
+    <xsl:attribute name="encoding">UTF-8</xsl:attribute>
     <xsl:attribute name="doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:attribute>
     <xsl:attribute name="doctype-system">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:attribute>
   </xsl:copy>