Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: CGI.pm and URL parameters

by Polyglot (Monk)
on May 17, 2009 at 13:44 UTC ( #764509=note: print w/ replies, xml ) Need Help??


in reply to Re^2: CGI.pm and URL parameters
in thread CGI.pm and URL parameters

Have you done this as the first communication to the browser?

print "Content-type: text/html; charset=utf-8\n\n";

IE requires this. Firefox will respect the <meta> tag directions, but IE needs to hear of UTF in the content headers.

Blessings,

~Polyglot~


Comment on Re^3: CGI.pm and URL parameters
Re^4: CGI.pm and URL parameters
by ambs (Pilgrim) on May 17, 2009 at 13:46 UTC
    You know, that line is what the CGI header function produces when called with -charset => utf-8.

    Alberto Simões

      Here's an idea, create a small program which reproduces your problem, and show it to us :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-11-29 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls