[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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
Re: [xsl] MSXML / NBSP problem and resolution
Subject: Re: [xsl] MSXML / NBSP problem and resolution From: "Michael H. Semcheski" <mhs-list@xxxxxxxxx> Date: Thu, 07 Nov 2002 12:47:32 -0500 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] MSXML / NBSP problem and , David Carlisle | Thread | Re: [xsl] MSXML / NBSP problem and , David Carlisle |
Re: [xsl] MSXML / NBSP problem and , Michael H. Semcheski | Date | Re: [xsl] MSXML / NBSP problem and , David Carlisle |
Month |
Keywords