My first thought would be to add the line* include 'cgi' *to your scripts, 
then try CGI::escapeHTML(your_string) and see if that works for you.

If that, or some variant, doesn't work for you then I suggest you may want 
to ask this on StackOverflow and see if there are any Ruby gems that will 
encode/decode the target string so it matches your validation data.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to