On 9/2/14, 4:19 PM, Randal L. Schwartz wrote: > ## ensure utf8 CGI params: > $CGI::PARAM_UTF8 = 1;
Sorry to chime in late on this, but part of the problem with CGI.pm and UTF-8 is that PARAM_UTF8 gets clobbered by a cleanup handler that CGI.pm itself registers if its running under mod_perl. This caused major headaches for me at one time until I figured this out. You have to make sure to set $CGI::PARAM_UTF8 early, and FOR EVERY REQUEST, because if you just set it globally (e.g.: in a startup perl script), then it only works for the first request. Regards, Michael Schout