Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (17)
As of 2014-07-31 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls