W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2002

Re: Character encoding of xslt output

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 10 Dec 2002 09:41:34 GMT
Message-Id: <200212100941.JAA11501@penguin.nag.co.uk>
To: duerst@w3.org
CC: Norman.Walsh@Sun.COM, spec-prod@w3.org


> Here is a diff for changing to utf-8. 

actually it shouldn't put in a meta charset element at all in html
output. The XSLT engine will insert one itself using the output
encoding it actually uses, so at best with the xmlspec.xsl
youget two equivalent <meta elements and at worst you get two
one of which is specifying the wrong encoding for the file.


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Tuesday, 10 December 2002 04:42:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:12 GMT