RE: Problem with entities and XT

Subject: RE: Problem with entities and XT
From: "White, David" <David.White@xxxxxx>
Date: Thu, 17 Feb 2000 10:52:34 +0100

> -----Original Message-----
> From: Didier PH Martin [mailto:martind@xxxxxxxxxxxxx]
> All the &nbsp; from the orginal XML document are translated by XT into
> Â Â Â Â Â Â Â 
> 
> Hypothesis:
> a) Something is wrong in my style sheet
> b) James Clark embedded a joker in XT
> c) there is a bug in XT
> d) I am too tired and I should go to sleep :-)

e) None of the above.

That 'Â ' is the UTF-8 encoding of ISO-8859-1 character 160. This is the
character referenced by the entity &nbsp; (or &#160;). The native charset of
XML is UTF-8, and XT is an UTF-8 processor.

As best I can tell, if you are serving from XT, you need a transcoder
(UTF-8=>ISO-8859-1) or you need to add '; charset=UTF-8' to your
Content-Type header in HTTP.

Someone please inform me if the above is in some way wrong.

Dave


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


Current Thread