First of all, decode( 'utf8', $untrusted ) is a security issue.
Secondly, UTF8 is a perl-specific encoding. UTF-8 is the actual encoding. It doesn't make sense to tell the browser you're using UTF8 (-encoding => 'utf8').
I haven't pinpointed the problem, but changing UTF8 to UTF-8 throughout fixed the problem.
In reply to Re: CGI hidden params vs. character encoding
by ikegami
in thread CGI hidden params vs. character encoding
by graff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |