RE: [xsl] URL encoding (ö -> %F6)

Subject: RE: [xsl] URL encoding (ö -> %F6)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 15 Dec 2005 11:25:53 -0000
> 1) The manually escape-html-uri() did not solve the problem.
> > > XSLT level. This URL encoding should work according to the
> > > RFC RFC 1738.
> > > That means that for example the German-Umlaut 'v' should be
> > > converted to '%F6'.

It occurred to me after posting that 'v' should not be converted to %F6, but
rather to %EF%BF%BD.

RFC 1738 has been superseded by RFC 2396, which in turn has been superseded
by RFC 3986. The %HH escape sequence should represent the octets of the
UTF-8 encoding of the character, not (for example) the ISO 8859-1 encoding
of the character.

Michael Kay

Current Thread