- From: Martin Duerst <duerst@w3.org>
- Date: Tue, 10 Dec 2002 07:23:51 +0900
- To: Norman Walsh <Norman.Walsh@Sun.COM>
- Cc: spec-prod@w3.org
Hello Norm, others,
Currently the character encoding of the xslt output of
xmlspec is fixed to iso-8859-1. This may work for most
cases, but we in i18n are using utf-8 more and more.
Here is a diff for changing to utf-8. In the long term,
that's the way to go. I the near term, providing some
kind of parameter may be best.
Regards, Martin.
===================================================================
RCS file: /w3ccvs/WWW/International/ws/ws-i18n-scenarios-edit/xmlspec.xsl,v
retrieving revision 1.2
diff -c -r1.2 xmlspec.xsl
*** xmlspec.xsl 2002/12/06 10:09:32 1.2
--- xmlspec.xsl 2002/12/06 21:06:39
***************
*** 37,42 ****
--- 37,45 ----
ChangeLog: (See also: CVS ChangeLog)
+ 06 December 2002: Martin Duerst, <duerst@w3.org>
+ - Changed charset from iso-8859-1 to utf-8
+
15 August 2002: Norman Walsh, <Norman.Walsh@Sun.COM>
- Version 1.3 released at
http://www.w3.org/2002/xmlspec/html/1.3/xmlsp
ec.xsl
There have never been any "official" releases before, so the
version
number
***************
*** 154,160 ****
<xsl:key name="specrefs" match="specref" use="@ref"/>
<xsl:output method="html"
! encoding="ISO-8859-1"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
indent="no"/>
--- 157,163 ----
<xsl:key name="specrefs" match="specref" use="@ref"/>
<xsl:output method="html"
! encoding="utf-8"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
indent="no"/>
***************
*** 1670,1676 ****
</xsl:attribute>
</xsl:if>
<head>
! <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"/>
<title>
<xsl:apply-templates select="header/title"/>
<xsl:if test="header/version">
--- 1673,1679 ----
</xsl:attribute>
</xsl:if>
<head>
! <meta http-equiv="Content-Type" content="text/html;
charset=ISO-utf-8"/>
<title>
<xsl:apply-templates select="header/title"/>
<xsl:if test="header/version">
Received on Monday, 9 December 2002 17:23:53 UTC