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

Re: RE: Re:   is being displaye

Subject: Re: RE: Re:   is being displayed as Á
From: Kevin Burges <xmldude@xxxxxxxxxxxxxxxx>
Date: Tue, 11 Dec 2001 15:46:54 +0000
displaye
MK> The problem occurs because your XSLT transformation has produced a file in
MK> UTF-8 encoding and you are looking at it with a text editor that doesn't
MK> understand UTF-8. Either get an editor that does understand UTF-8, or
MK> generate the output in an encoding that your editor understands (e.g.
MK> ISO-8859-1), or just throw the output at the HTML browser without trying to
MK> look at it first.

My problem was that the browser (IE) did not correctly display " ",
because it was not automatically recognising the character set. I
tried changing the charset (in xsl:output) to iso-8859-1, but I still
had the same problem, that IE was displaying Á.

If I was creating the HTML by hand, I would insert &#160; so what is
wrong with generating this through XSLT?


>> You can do this by changing:
>>
>>    &#160;
>> to:
>>    &amp;#160;
>>
MK> Don't do that, unless you want it to appear as "&#160;" rather than " " when
MK> viewed in the browser.

I don't understand. When I put the output into IE it displays " ". The
bare HTML has "&#160;" obviously (as desired), but the browser
correctly displays " ".

I assume we are talking at cross-purposes somehow.

-- 
groovy baby,
 Kevin                    mailto:xmldude@xxxxxxxxxxxxxxxx

++++++++++++ Cool music - http://burieddreams.com/marshan
++++++ Attitude Webzine - http://burieddreams.com/attitude


 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.