Having encoded a unicode string in javascript, how can I decode it in Python?
        Posted  
        
            by Gilbert
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Gilbert
        
        
        
        Published on 2010-05-29T08:04:14Z
        Indexed on 
            2010/05/29
            8:12 UTC
        
        
        Read the original article
        Hit count: 341
        
JavaScript
|python
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/??
?
© Stack Overflow or respective owner