This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re:   is being displayed as Á
- From: "Swen Thuemmler" <Swen dot Thuemmler at paderlinx dot de>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 12 Dec 2001 11:06:50 +0100 (CET)
- Subject: [xsl] Re:   is being displayed as Á
- Reply-to: xsl-list at lists dot mulberrytech dot com
On Tue, 11 Dec 2001, Brinkman, Theodore wrote:
> And, how would you suggest someone actually get ' ' into the output in
> order to avoid the issue which started this thread in the first place?
> (browsers assuming a different encoding type than is sent, and therefore
> mistranslating character 160 as 'Á' instead of ' '? I have yet to see a
> browser which misunderstands ' '.
You could use <xsl:output method="html" encoding="us-ascii"/>
This should solve most output encoding problems (assuming your XSL
processor supports US-ASCII, but most do). This way,   will be output
as either or   which all browsers recognize (I've not seen any
browser which does not recognize it). The drawback is, that all characters
which are not in US-ASCII are encoded as either HTML-Entities or numeric
Entities.
--Swen
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list