Subject: RE: url encoding gets wrong with åöä?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 5 Jun 2006 15:17:18 +0100
|
> The url commes out as "Avh%C3%A4mtning" and the
> link text as "Avhämtning".
> the encoding in the url is wrong. it should be Avh%E4mtning
No, the encoding in the URL is correct. The correct procedure for escaping
non-ASCII characters in a URL is to first encode the character in UTF-8,
then represent each octet of the UTF-8 sequence in hexadecimal as %HH.
The important question is, does the link actually work? If it doesn't work,
which browser are you using?
Michael Kay
http://www.saxonica.com/
|