Decodes the URI string encodedURI into a UTF-8 string and returns it. Escape sequences that resolve to reserved URI characters are not replaced. Escape sequences that resolve to the '#' character are not replaced.
assert("foo%20bar".decode == "foo bar"); assert("%3C%3E.@.%E2%84%A2".decode == "<>.@.™"); assert("foo&/".decode == "foo&/"); assert("!@#$&*(".decode == "!@#$&*(");
See Implementation
Decodes the URI string encodedURI into a UTF-8 string and returns it. Escape sequences that resolve to reserved URI characters are not replaced. Escape sequences that resolve to the '#' character are not replaced.