Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CGI::Application - Which is the proper way of handling and outputting utf8

by Juerd (Abbot)
on Nov 17, 2007 at 11:18 UTC ( [id://651407]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    binmode STDIN, ":encoding(utf8)";
    binmode STDOUT, ":encoding(utf8)";
    
  2. or download this
    my $cgi =
        $ENV{REQUEST_METHOD} eq 'GET' 
        ? CGI->new(decode_utf8 $ENV{QUERY_STRING})
        : CGI->new;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://651407]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found