Is there any way to construct a GET or POST request so that the
resulting params hash can incorporate arbitrary strings (i.e.
including ampersands, quotes, square brackets…) as its keys? I’m
trying to do something like
to get back a params hash like
“Press [OK] to continue”=>“Touchez [OK] pour continuer”
but the square brackets in the second field name cause it to be
omitted from the hash. I’ve tried escaping them with slashes, URL-
encoding and everything else I can think of, but it makes no
I guess one workaround would be to roll my own encoding scheme
(something like URL encoding but not quite…) and explicitly decode
the names at the other end, but it would be nice to be able to avoid
that step. Any suggestions?