xsl-list
[Top] [All Lists]

Re: special characters in xml text paramter

2002-11-21 02:14:54

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?

No. You _are_ just getting the copyrght symbol but you are taking the
default output encoding, utf8, in which this character has two bytes.
If you look at the file in a system that doesn't understand utf8
then in general you will see rubbish, but coincidentally the copyright
symbol appears as two bytes the second of which is teh same byte as used
for copyright in latin1 encoding.

So, either ask for xsl <xsl:output encoding="iso-8859-1"/> or fix the
system that you are using to look at teh file to understand utf8 (any
html or xml system will understand utf8)

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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