method

unescape

v2_4_6 - Show latest stable - Class: CGI::Util
unescape(string,encoding=@@accept_charset)
public

URL-decode a string with encoding(optional).

string = CGI::unescape("%27Stop%21%27+said+Fred")
   # => "'Stop!' said Fred"