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

Re: MSXML / NBSP problem and resolution

Subject: Re: MSXML / NBSP problem and resolution
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 7 Nov 2002 15:49:22 -0700 (MST)
convert xsl to rtf
Michael H. Semcheski wrote:
> That was the original problem though, for one reason or another, it was 
> showing up as a ?

"?" usually indicates that you had a Unicode character that could not be
represented in whatever encoding was being used to encode the string as bytes.  

It also indicates that this substitution occurred at a point when it was no
longer known that the string contained markup (if it was known that it was XML
or HTML, then the unencodable character would've been replaced with &#160; or
&nbsp;).

Based on your other messages, I'd say this transcoding is happening when you
get a UTF-16 string from the XSLT processor and are converting it to
iso-8859-1 for output.

You need to stop getting that UTF-16 string in the first place, because the
no-break space character in there is apparently going to be directly encoded
as 0x00A0, byte order notwithstanding... not escaped as &nbsp; or &#160;.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 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.