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

Re^3: CGI.pm and URL parameters

by Polyglot (Pilgrim)
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 about the Monastery: (7)
As of 2015-07-07 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls