Re: mod_perl and utf8 and CGI->param

2014-09-04 Thread Randal L. Schwartz
> "Randal" == Randal L Schwartz writes: Randal> Yeah, just coded that. In a BEGIN block in my app, I monkey-patched Randal> read_from_client: And then I've also tried to monkey-patch ->read just as you said. On the first read, an empty string is apparently returned, which fails something h

Re: mod_perl and utf8 and CGI->param

2014-09-04 Thread Randal L. Schwartz
> "Torsten" == Torsten Förtsch writes: Torsten> Though, I wouldn't go this way. I'd either try to force CGI.pm to read Torsten> from STDIN and use the perl-script handler Torsten> (http://perl.apache.org/docs/2.0/user/config/config.html#C_perl_script_). This Torsten> pushes a PerlIO layer to

Re: mod_perl and utf8 and CGI->param

2014-09-04 Thread Torsten Förtsch
On 03/09/14 21:38, Randal L. Schwartz wrote: > What I need to know is what is mod_perl doing differently? Does it not > respect binmode STDIN, ":utf8"? Apparently not. So if you know of a > way to get mod_perl to "fix" reading from the browser properly, I'm > interested in that. Something along