[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] encoding issues


Subject: RE: [xsl] encoding issues
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Wed, 3 Jul 2002 10:32:19 +0100

>This seems very strange. 

True.

>Firstly I've never had IE default to such an
>encoding...

When I view the output in IE, I see the modified A (whats it really
called?).  When I right-click and look at the encoding, I see
'auto-select' is checked and that is has chosen 'Western European
(Windows)' which is the first on the list, with all the rest greyed out.


>and secondly even if that encoding (or any other) is used
>&#160; is still ddefined and still means a non breaking space: that's
>the whole point of character references, they are an encoding neutral
>representatation of the character.

Yup.  If I change the output encoding to utf-16 IE correctly
auto-selects unicode (using msxml4) but not with saxon.

oh well, its not the biggest deal.

btw, if I can pick your brains sort-of off topic, in which situation
would you choose to use utf-8 over utf-16?

many thanks
andrew 





-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: 03 July 2002 09:46
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] encoding issues



> So why
> does IE 'autodetect' Western European and not recognise &#160; ??

This seems very strange. Firstly I've never had IE default to such an
encoding and secondly even if that encoding (or any other) is used
&#160; is still ddefined and still means a non breaking space: that's
the whole point of character references, they are an encoding neutral
representatation of the character.

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.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords