RE: [xsl] IXSLProcessor - input in UTF-8?

Subject: RE: [xsl] IXSLProcessor - input in UTF-8?
From: "Gabriel" <gabriel.klappenbach@xxxxxxxxx>
Date: Tue, 13 Sep 2005 18:41:12 +0200
Because when I input the XML in ISO-8859-1 the characters edv are
transformed correctly, but when I input them as UTF-8, they look like
rubbish transformed. So they are interpreted as ISO-8859-1 even though they
are UTF-8.

Btw, have you used IXSLProcessor and used UTF-8 input?


> -----Ursprungligt meddelande-----
> Fren: andrew welch [mailto:andrew.j.welch@xxxxxxxxx]
> Skickat: den 13 september 2005 18:26
> Till: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Dmne: Re: [xsl] IXSLProcessor - input in UTF-8?
> On 9/13/05, Gabriel <gabriel.klappenbach@xxxxxxxxx> wrote:
> > Well here's the funny thing.
> > I can skip using the stream altogether if I want.
> >
> > I can use
> > domXML.loadXML( o.document )
> >
> > So I load the XML directly from the COM object into a DOM XML object. So
> > there's really no need for the stream. But the result is the same.
> > So, the code will look like this if I skip using the stream:
> Ok... how do you know it's reading the file in the wrong encoding?

Current Thread