|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: weird character B , how to make
Paul Tomsic wrote:
[snip]Well, the DOM document surely must be serialized to appear in your browser, somewhere? Anyway, using an intermediate DOM means the XSLT processor wont control the output encoding, and if there is an xsl:output in your style sheet, it is basically ignored. Whatever serializes the DOM, it seems to generate an UTF-8 encoded stream (the usual default for XML serializers), and it also tells the browser it is 8859-1 encoded (the usual default for web servers). Without a look at the code doing the serialization and your server configuration it is hard to tell how to fix this. 2. does the html include a meta element? The XSLT processor will generate one automatically, for carrying an encoding declaration as a further hint for the browser (which may get multiple conflicting advises on the content encoding: in a HTTP header, an XML declaration and the META tag). An automaticallyu generated encoding advertisement in a META tag is often a problem if some other part of the server modifies the encoding afterwards. J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








