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

Re: and URL parameters

by Corion (Patriarch)
on May 17, 2009 at 13:01 UTC ( [id://764506]=note: print w/replies, xml ) Need Help??

in reply to and URL parameters

Your script still depends on what input encoding the browser is sending the form values in. You will need to trace the whole path between what the browser sends and what it tells you the encoding is, through how you process that data, to the output. Possibly, you have to add the encoding not only to a header but also as a META tag in the generated page.

Replies are listed 'Best First'.
Re^2: and URL parameters
by ambs (Pilgrim) on May 17, 2009 at 13:07 UTC
    Unfortunately that doesn't change a thing. If I just remembered what changed in the machine...

    Alberto Simões

      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.



        You know, that line is what the CGI header function produces when called with -charset => utf-8.

        Alberto Simões

      What do you mean by "that"? Did you need to trace the whole path?

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-24 02:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found