Don't ask to ask, just ask | |
PerlMonks |
Re: Help for "Cannot decode string with wide characters..." and CGI.pmby ikegami (Patriarch) |
on Apr 10, 2012 at 00:34 UTC ( [id://964236]=note: print w/replies, xml ) | Need Help?? |
Get rid of
Your corrupting the data stream passed to CGI. The proper way to decode the parameters is using
which you already use. Speaking of doing the same thing twice, you did *that* twice too! First you tell Perl the source code is UTF-8
then you tell it again using a buggy version of the first method.
The encoding is UTF-8, by the way. utf8 is something else.
In Section
Seekers of Perl Wisdom
|
|