This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á



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:
>>     
>>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]