xsl-list
[Top] [All Lists]

RE: IXSLProcessor - input in UTF-8?

2005-09-13 09:41:12
Because when I input the XML in ISO-8859-1 the characters åäö 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?

/Gabriel

-----Ursprungligt meddelande-----
Från: andrew welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com]
Skickat: den 13 september 2005 18:26
Till: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Ämne: Re: [xsl] IXSLProcessor - input in UTF-8?

On 9/13/05, Gabriel <gabriel(_dot_)klappenbach(_at_)gmail(_dot_)com> 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?

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--