xsl-list
[Top] [All Lists]

Re: special characters in xml text paramter

2002-11-20 11:37:02

Thanks Jeff...

but how do i convince my browser? It doesn't have anything to do with browser versions right?

a

From: Jeff Kenton <jkenton(_at_)datapower(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] special characters in xml text paramter
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;
©
&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


..........................................................
Email: arisuu(_at_)hotmail(_dot_)com
Cell: (650) 483-8164
Work: (212) 201-0881
.......................................................... Jeff..


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


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