[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Trouble with special characters

Subject: [xsl] Trouble with special characters
From: "a kusa akusa8@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jan 2016 17:27:01 -0000


I am trying to transform special characters in an XML file using XSLT
and I am having trouble with it.

One of them that I am having trouble with is the degree symbol. The
encoding is set to ISO-8859-1 because the system that consumes the XML
is set to this encoding.

So, on my XSL, I use the xsl:character-map and have mapped degree to
&#176; But for some reason, when the XML is converted, I only see
gibberish in place of the degree symbol.

Degree - "C/B?B=

I also have similar problems with the middle dot, null and section symbols.

Any suggestions on this is greatly appreciated.

Thank you in advance.

Current Thread