Displaying 1 result from an estimated 1 matches for "hongrie".
Did you mean:
hongbin
2011 May 16
3
Problem with GET args and UTF-8 encoding (output of Rack::Utils.unescape() ?)
...ling
characters which are two bytes (for example, "%20," which is space and
a one byte character, gets converted fine). I feel like I''ve almost
figured this out, but I''m still stumped. Here''s my "evidence:"
# Example UTF-8 string:
"Adélaïde de Hongrie"
# GET string (obviously URI encoded):
Started GET "/registers/results?filter[title][]=Ad%E9la%EFde%20de
%20Hongrie&search=&limit=4" for 127.0.0.1 at 2011-05-16 14:17:33 +0700
# What Rack produces/Rails sees (in Controller):
Parameters: {"filter"=>{"titl...