Thanks to Michael, Michael, Lloyd, Cees,
your answers and insights have made things clearer for me.
I think I'll use a combination of all of that for this new application we're
writing.
In other words, to program "defensively", I propose to do this :
when sending the html page with the :
- cr
On 02/24/2011 03:31 PM, André Warnier wrote:
> Hi.
>
> I wonder if someone here can give me a clue as to where to look...
If you have a fairly recent CGI.pm, it will decode utf-8 properly for
you (even avoiding double-decoding), but there are some caveats. In
addition to what others have already
Michael Peters wrote:
On 02/24/2011 04:31 PM, André Warnier wrote:
I wonder if someone here can give me a clue as to where to look...
The CGI.pm documentation talks about the -utf8 import flag which is
probably what you're looking for. But it does caution not to use it for
anything that nee
Subject: CGI and character encoding
Hi.
I wonder if someone here can give me a clue as to where to look...
I am using
Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_jk/1.2.26 PHP/5.2.6-1+lenny9 with
Suhosin-Patch
mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4
Perl/v5.10.0
Hi André,
There is a perlmonks post from a few years ago that explains one way
of automating this with CGI.pm. I've used this for several years now
without problems.
http://www.perlmonks.org/?node_id=651574
Just remember that decoding params is just one part of dealing with
utf-8. You need to
On 02/24/2011 04:31 PM, André Warnier wrote:
I wonder if someone here can give me a clue as to where to look...
The CGI.pm documentation talks about the -utf8 import flag which is
probably what you're looking for. But it does caution not to use it for
anything that needs to do file uploads.
Hi.
I wonder if someone here can give me a clue as to where to look...
I am using
Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_jk/1.2.26 PHP/5.2.6-1+lenny9 with Suhosin-Patch
mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0
perl -MCGI -e 'print $CGI::VERSION'
3.