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

Subject: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Tue, 11 Dec 2001 17:11:50 +0100
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kevin Burges
> Sent: Tuesday, December 11, 2001 4:47 PM
> To: Michael Kay
> Subject: [xsl] Re: [xsl] RE: [xsl] Re: [xsl] &#160; 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 Á.

Make sure that the content encoding is properly declared in

- the HTTP Content-Typer header (when serving through HTTP),
- the XML declaration (when producing XHMTL) and
- the HTML meta tag.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread