xsl-list
[Top] [All Lists]

Re: special characters in xml text paramter

2002-11-20 11:28:35
Alice Fan wrote:

Hello,

I'm trying to output the copyright character. I tried every combination in the xml :

©
©
©
©
...you get the idea.

I've also tried using DOCTYPE and declaring it there. but still same problem.


For some reason I keep getting this extra character to the left of the copyright symbol. Is there a way to just display the copyright symbol?


You are getting UTF8 output (most likely) which encodes the copyright symbol
in two bytes. You are (most likely) displaying it with something that doesn't
understand UTF8. See if you can convince your browser to display UTF8
directly. Your XML is probably OK.

--
--------------------------
Jeff Kenton
DataPower Technology, Inc.



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list