This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: copyright symbol in XSLT



> How do I get rid of that unwanted character?

It is not unwanted. Those two bytes are the encoding of copyright in
utf-8, which is the default encoding for unicode.

Whatever you are using to read the file is incorrectly reading it as
latin1, clearly if you read something in the wrong encoding you get
essentially arbitrary junk displayed.

You can use xsl:output to specify a different encoding if you wish,
however note that every XML system will understand utf-8 but if you
specify latin1 (iso-8859-1) then an XML system is allowed to reject the
file. 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]