Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
[erix]: one would think: git clone git://perl5.git. perl.org/perl.git
[LanX]: I have to clone it all ?
[LanX]: urban dictionry blocked
vrk takes a cookie from the platter on the sideboard.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-04-24 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.