[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: IXSLProcessor - input in UTF-8?

Subject: RE: IXSLProcessor - input in UTF-8?
From: "Gabriel" <gabriel.klappenbach@xxxxxxxxx>
Date: Wed, 14 Sep 2005 17:55:06 +0200
ixslprocessor
Well I can adjust the output encoding to whatever I want, for instance UTF-8
or ISO-8859-1. And yes I do this in the stylesheets output element.
However, the characters edv in the output only look fine IF and only if the
input XML document is encoded in ISO-8859-1. If it is, everything is fine
regardless of output encoding, it looks fine whichever I choose.

That is why it seems to me that IXSLProcessor only reads it input in that
encoding, and ignores the declaration in the XML document.
But you are convinced that IXSLProcessor follows the input encoding
specified in the XML?

/Gabriel

> -----Ursprungligt meddelande-----
> Fren: Nick Fitzsimons [mailto:nick@xxxxxxxxxxxxxx]
> Skickat: den 14 september 2005 17:22
> Till: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Dmne: RE:  IXSLProcessor - input in UTF-8?
>
> > Well if I output the contents of the COM object, I get an UTF-8 encoded
> > XML
> > document that I can view in the browser, and edv looks fine there.
> > Same thing if I output DOM XML. But if I transform it using
> IXSLProcessor,
> > that's when edv looks weird.
> >
> > /Gabriel
>
> I would conclude from the fact that the DOM output from the COM component
> is fine that it's something in the transformation. Have you specified
>
> encoding="UTF-8"
>
> in the <xsl:output> element? IIRC, MSXML has a tendency to default to
> UTF-16 (or something else...). Ensure that you specify the encoding in the
> XSLT and it may solve your problems.
>
> Then again, from lots of past experience with MSXML, it may not :-)
>
> HTH,
>
> Nick.
> --
> Nick Fitzsimons
> http://www.nickfitz.co.uk/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.