Re: [xsl] special characters in xml text paramter

Subject: Re: [xsl] special characters in xml text paramter
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Wed, 20 Nov 2002 13:28:35 -0500
Alice Fan wrote:

Hello,


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

&amp;copy;
&copy;
&#169;
&amp;#169;
...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


Current Thread