perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Apache 2 + perl UTF-8 problem
Date Mon, 23 Jun 2008 15:22:03 GMT

Torsten Foertsch wrote:
> On Sun 22 Jun 2008, André Warnier wrote:
>> Now, the first thing I would like to understand is why this is so.
>> Since this is a POST, and since the browser knows that "everything" is
>> UTF-8, I would expect it to send the proper multipart POST, with each
>> item marked as UTF-8.  So why does my cgi-bin script not see it as such ?
> 
> Yes that is the current state. Neither CGI nor libapreq2 does that conversion 
> for you, afaik. You have to do it yourself.
> 
Thanks.
For the moment, I am dealing with CGI.pm, without mod_perl or libapreq2. 
  I'll deal with those afterward.

I see a problem though : as far as I can tell, CGI.pm does not offer any 
way to find out the "charset" header with which each POST parameter was 
sent.  Or am I missing something ?

André

Mime
View raw message