Re: [xsl] special characters in xml text paramter

Subject: Re: [xsl] special characters in xml text paramter
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 21 Nov 2002 09:14:54 GMT
> 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)


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread