On 9/13/05, Gabriel <gabriel(_dot_)klappenbach(_at_)gmail(_dot_)com> wrote:
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?
Those characters should be the same in both IS0-8859-1 and UTF-8...
Try setting your output encoding to ascii eg:
<xsl:output encoding="US-ASCII"/>
This will ensure all non ascii characters are written out as a
character references. Doing removes any issues surrounding the viewer
reading the result in the wrong encoding.
What character references get output? You should see åäö
--~------------------------------------------------------------------
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>
--~--