process is explained in the HTML specification: see
XSLT specification references this, and mandates UTF-8 based URL
your browser failing to handle the encoded URL correctly?
it might be that the best way to fix the problem is to encode the HTML document
in UTF-8. As the above reference explains, some browsers assume (incorrectly)
that the encoding of characters in escaped URLs is the same as the encoding of
the document itself.
provides an option on xsl:output to suppress the encoding of URIs, it might also
be worth trying this.
(Incidentally, the href value does not contain "an entity": it contains a
non-ASCII character. It's irrelevant whether the non-ASCII character was
originally written as an entity reference, as a character reference, or as a
I am outputting a href that contains an
entity (Å Å) - however, this gets URL-encoded to
%C3%85 rather than %C5 as I would expect - why is this, and how can I
achieve what I want?