Having encoded a unicode string in javascript, how can I decode it in Python?
- by Gilbert
After calling encodeURIComponent in JS and piecing things together, I have an URL like this:
http://www.foo.com/%E5%9C%B0%E9%9C%87
(i.e utf-8 encoding)
This gets received in my python server side. How can I decode that to a unicode string of
http://www.foo.com/??
?