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