Forum Moderators: open

Message Too Old, No Replies

Xsl

Error displaying degree symbol

         

gosman

8:31 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



I'm trying to include a weather feed on my site. When I view the output of the XSL in HTML the degree symbol is displayed as follows.

° instead of just °

Any help on this would be much appreciated.

Thank you in advance

Gosman

choster

8:42 pm on Mar 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What are the text encodings of your input and output documents (e.g . ISO-8859-1, UTF-8)? They should match.

gosman

8:56 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



Hi Choster

The XSL is ISO-8859-1 encoded. The XHTML template it is outputted to is also ISO-8859-1

choster

12:19 am on Mar 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But what is the encoding of the input XML? And does this problem occur for any other extended characters?

gosman

10:16 am on Mar 22, 2006 (gmt 0)

10+ Year Member



Hi Choster.

Turned out to be a php error.

Now sorted.

Thanks for your help.