xsl-list
[Top] [All Lists]

Re: escaping an accented character

2004-01-13 14:09:12
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



<Prev in Thread] Current Thread [Next in Thread>