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

Re: xml:space preserve on element converted to html t

Subject: Re: xml:space preserve on element converted to html textarea encoding issue
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Tue, 07 Jun 2011 09:12:06 +0100
Re:  xml:space preserve on element converted to html  t
On 07/06/2011 07:32, Karl Stubsjoen wrote:
I am converting an element with xml:space preserve to an HTML
textarea.  I am getting a bad character code, an A with a little tilde
hat (sort of) as the first character in the textarea.
A spurious capital A followed by a diacritic means that your content is in UTF-8, but it's being displayed by software that doesn't realise it is in UTF-8 (it probably thinks it is in Latin-1). If the display software is a web browser, this means there's something wrong with the magic incantations in the HTML Content-Type, the HTTP headers, the web server configuration files, or some combination of the above.

Michael Kay
Saxonica

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.