Handbook
Glossary
url-decode ( str -- decoded )
Furnace framework
»
URL objects
»
URL encoding and decoding
Prev:
url-encode ( obj -- encoded )
Next:
url-quotable? ( ch -- ? )
Vocabulary
urls
.
encoding
Inputs
str
a
string
Outputs
decoded
a
string
Word description
Decodes a URL-encoded string.
Definition
USING:
io.encodings.string
io.encodings.utf8
kernel
make
urls.encoding.private
;
IN:
urls.encoding
:
url-decode
( str -- decoded )
[
0
swap
url-decode-iter
]
""
make
utf8
decode
;