xsl-list
[Top] [All Lists]

RE: IXSLProcessor - input in UTF-8?

2005-09-14 08:22:08
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 åäö looks fine there.
Same thing if I output DOM XML. But if I transform it using IXSLProcessor,
that's when åäö 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/


--~------------------------------------------------------------------
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>
--~--