Are there any equivalent JavaScript functions for Python's urllib.parse.quote()
and urllib.parse.unquote()
?
The closest I've come across are encodeURI()
/encodeURIComponent()
and escape()
(and their corresponding un-encoding functions), but they don't encode/decode the same set of special characters as far as I can tell.