Re: [xsl] escaping an accented character

Subject: Re: [xsl] escaping an accented character
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Tue, 13 Jan 2004 22:09:12 +0100
Peter Hollingsworth wrote:

The character à ('a' with a grave accent) appears in a node in my XML. When I use an XSLT to display the node in an href for link in an html page, the character gets escaped as %C3%A0, which is completely wrong (it should be escaped as %E0). Similar problems occur with all accented characters.

It's exactly the right thing. See:


<http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.1>

Both the XSL and the XML file have encoding="UTF-8" (unicode, I believe).

That's irrelevant here.


Any suggestions? Thanks.

Fix the server, if you can. The URI is just fine.


Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

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


Current Thread