> Why does msxml4 (when using ie's autoselect) default to
> unicode without the line:
>
> <xsl:output method="xml" encoding="utf-8"/>
>
> Whereas with it, it defaults to Western European (windows)
> (iso-8859-1 I
> think) - isnt that the wrong way around?
>
> Why does saxon always default to Western European regardless
> of what I specifiy?
>
> The reason I ask is that Im using   at various places,
> which is part of unicode but not Western European...
Just to summarize my understanding of the responses to this thread:
* Saxon outputs the XML in utf-8 as requested.
* Your perception that Saxon outputs in "Western European" is based on
asking Internet Explorer what it thinks the encoding is.
* Internet Explorer is confused because the output is actually being
treated as HTML rather than as XML, which means that the XML encoding
declaration is ignored. (And the HTML encoding declaration, of course,
is not there because you asked for method="xml").
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- encoding issues
- Andrew Welch - Tue, 2 Jul 2002 11:52:27 -0400 (EDT)
- bryan - Tue, 2 Jul 2002 13:58:13 -0400 (EDT)
- Michael Kay - Wed, 3 Jul 2002 10:17:09 -0400 (EDT) <=
- <Possible follow-ups>
- Andrew Welch - Wed, 3 Jul 2002 04:25:38 -0400 (EDT)
- David Carlisle - Wed, 3 Jul 2002 04:45:43 -0400 (EDT)
- bryan - Wed, 3 Jul 2002 05:34:54 -0400 (EDT)
|
|