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

Subject: RE: [xsl] IXSLProcessor - input in UTF-8?
From: "Gabriel" <gabriel.klappenbach@xxxxxxxxx>
Date: Wed, 14 Sep 2005 15:59:52 +0200
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.


> -----Ursprungligt meddelande-----
> Fren: David Carlisle [mailto:davidc@xxxxxxxxx]
> Skickat: den 14 september 2005 15:52
> Till: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Dmne: Re: [xsl] IXSLProcessor - input in UTF-8?
> > COM object --> DOM XML  -->  IXSLProcessor input
> The DOM object stores text as unicode characters so there is no
> "encoding" involved in the DOM.
> The encoding is a mapping between bytes in a file (or other stream) and
> unicode characters so only has any meaning at the point that those bytes
> are passed to an XML parser.
> So your problem isn't the input to IXSLProcessor, it's the construction
> of the DOM, or earlier, wherever the file encoding is being used (or not
> used)
> 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:
> ________________________________________________________________________

Current Thread