Re: [xsl] Preseving character entities

Subject: Re: [xsl] Preseving character entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Nov 2004 14:52:03 GMT
  But if he asks for UTF-8, then he will get non-ASCII characters encoded in
  UTF-8, not represented as character references.


Yes, but my understanding of the current draft is that you can ask for
us-ascii and no xml-encoding declaration  so the resulting file will
be interpreted as utf8 by a subsequent parser but will use character
refs for any non-ascii characters. (This form being just about the only
form that is safe to send with a mime type of text/xml as anything else
is liable to get mangled by mismatches between encoding rules between
xml and text/* mime type rules.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread