Subject: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á From: Kevin Burges <xmldude@xxxxxxxxxxxxxxxx> Date: Tue, 11 Dec 2001 15:46:54 +0000 |
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@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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: [xsl] Re: [xsl]   is, Michael Kay | Thread | [xsl] RE: [xsl] Re: [xsl] RE: [xsl], Julian Reschke |
[xsl] Re: Re: Re: max value, Dimitre Novatchev | Date | RE: [xsl] Re: max value, Chris Bayes |
Month |