[jdom-interest] Tranforming into hatted A
easirois at ca.ibm.com
Sun Mar 17 16:26:52 PST 2002
This happens when your transformed document is in UTF-8 encoding and the
browser is usally set to ISO-8859-1/Windows 1252. There are three
things you can do.
1) Change your browser's default encoding to UTF-8
2) use <xsl:output method="html" encoding="iso-8859-1"> in your stylesheet
3) use iso-8859-1 encoding in your XML document
David M. Karr wrote:
>I did go over the XSLT FAQ about special characters, but I didn't see anything
>obviously covering this.
>I'm trying to figure out how to generate a " " element in my HTML output.
>Unfortunately, it only produces a capital "hatted A". I also tried an explicit
>" ", but that did the same thing. I tried to trick it with "&nbsp;",
>but the result was uninspiring, being exactly "&nbsp;".
>What exactly is happening here?
More information about the jdom-interest