[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
utf 8 bug

> -----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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.