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

Re:   is being displayed as Á

Subject: Re:   is being displayed as Á
From: "Swen Thuemmler" <Swen.Thuemmler@xxxxxxxxxxxx>
Date: Wed, 12 Dec 2001 11:06:50 +0100 (CET)
swen th mmler
On Tue, 11 Dec 2001, Brinkman, Theodore wrote:

> And, how would you suggest someone actually get '&nbsp;' 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 '&nbsp;'.

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, &#160; will be output
as either &nbsp; or &#160; 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


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.