[Israel.pm] UTF8 in CGI form parameter
Peter Gordon
peter at pg-consultants.com
Thu Mar 13 11:05:05 EET 2008
my $q = new CGI ;
$q->charset('utf-8') ;
On Wed, 2008-03-12 at 21:45 +0200, Shmuel Fomberg wrote:
> Hello there.
>
> When I send a utf8 page to the browser, and get the response in utf8, does
> CGI.pm identify it and mark the data as utf8, or should I do it?
>
> (I can do it using Encoding's $string = decode_utf8($octets) )
>
> Shmuel.
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
More information about the Perl
mailing list