xsl-list
[Top] [All Lists]

output encoding problem (can't get UTF-8)

2005-08-05 09:26:50
I specify UTF-8 in my templates output element.

The transformation is done in ASP with IXSLTransform:

...
processor.input = domXML
processor.transform()
Response.write(processor.output)


The problem is that in the meta tag of the produced HTML page, there's no
encoding attribute at all.
The characters Å Ä Ö only look good when I set the brower to read the page
as ISO-8859-1. When I choose UTF-8 in the browser those characters are
questionmarks instead.

Why can't I get my output in UTF-8? It shouldn't matter what the input to
the XSL is right? Because it converts it all to Unicode in memory?

Any help would be much appreciated.

/Gabriel


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