Re: CGI and character encoding

André Warnier <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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 needs to do file uploads.
> 

Thanks. My workstation version of the CGI documentation is apparently outdated, and did 
not mention that "pragma".  The CPAN version does.
But yes, I will need file uploads too, and since there is no telling how exactly the -utf8 
flag interferes with them, I think I'll stick with the p.i.t.a. method for now.

I wonder why browsers do not put a charset parameter in the multipart/form-data parts..
It would seem like a logical and MIME-conformant thing to do.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.