I have a cgi generating an html page with the following meta tag: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">. This causes my browser (Mozilla 1.6) to set it's character coding to utf8, when I try to submit a form with a text box containing an 'ö' (o with umlauts)(via method 'POST') it is encoded as %C3%B6 the cgi has issues decoding this to the proper character. When I change the character encoding in my browser to ISO-8859-1 and send it, the character is translated into %F6. What is the easiest way to handle these unicode characters that have been URL encoded? I've tried looking at the CGI.pm's decoding and it doesn't seem to work properly, I'm at a loss as to where to go next. At least a shove in the right direction would be greatly appreciated.
In reply to UTF-8 and URL encoding by linux454
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |