Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: UTF-8 or iso-8859-1 input to CGI.pm

by jhourcle (Prior)
on Mar 02, 2009 at 17:23 UTC ( #747505=note: print w/replies, xml ) Need Help??


in reply to UTF-8 or iso-8859-1 input to CGI.pm

If you don't trust the browser, I'd try to find a named entity that's represented as a different value in each of the two encodings, and set it as a value in a hidden field.

If there aren't any such characters, you could at least use a character that's in unicode, but not iso-latin, and see what comes back from the browser.

  • Comment on Re: UTF-8 or iso-8859-1 input to CGI.pm

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://747505]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2016-12-11 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.