Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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~

Replies are listed 'Best First'.
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?
[usemodperl]: someone has yet to make that future famous free http to https proxy written in perl and supported by ads, paypal, patreon, etc to make millions of dollars a minute!
[Veltro]: Why would this be fresh, I recon this is stuff that happens all the time (not Perl per se)
[Corion]: usemodperl: I'm sure you could even code that on the command line.
[usemodperl]: definitely

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2018-06-24 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?