This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á
- From: Kevin Burges <xmldude at burieddreams dot com>
- To: Michael Kay <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 11 Dec 2001 15:46:54 +0000
- Subject: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á
- Organization: burieddreams.com
- References: <001c01c18248$0b3c9360$465169d5@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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   so what is
wrong with generating this through XSLT?
>> You can do this by changing:
>>
>>  
>> to:
>> &#160;
>>
MK> Don't do that, unless you want it to appear as " " 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 " " obviously (as desired), but the browser
correctly displays " ".
I assume we are talking at cross-purposes somehow.
--
groovy baby,
Kevin mailto:xmldude@burieddreams.com
++++++++++++ Cool music - http://burieddreams.com/marshan
++++++ Attitude Webzine - http://burieddreams.com/attitude
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list