RubyでURLの履歴

ruby-1.9.2-p290 :215 > URI.encode("{\"hoge\":\"fuga\"}")
 => "%7B%22hoge%22:%22fuga%22%7D"