[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: "Michael H. Semcheski" <mhs-list@xxxxxxxxx>
Date: Thu, 07 Nov 2002 12:47:32 -0500
msxml utf 16


Question: Should you get the UTF-16 meta-tag if you explicitly define the charset in the output method to ISO-8859-1?



yes. If the output is in utf16 (which it often is with msxml whatever you request in xsl:output.

this is why the XSLt spec specifies that the system add the meta element: the stylesheet author can not do this accurately as (s)he has
no direct control over the acyual encoding in teh output, xsl:output is
just a hint.



If the output is UTF-16, and the only way to change this is with Response.Charset (lets consider this inelegant, more of a bandaid than a solution), maybe the correct approach is a bit off the beaten path.


The whole discussion started as a way to correctly render a page in a browser encoded as UTF-16 in a browser. A certain character (non-breaking space) was needed to get the page rendered correctly when encoded in ISO-8859-1. Is there a similar UTF-16 character anyone knows of?


M



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.