¡@

Home 

python Programming Glossary: xbcy

Double-decoding unicode in python

http://stackoverflow.com/questions/4267019/double-decoding-unicode-in-python

using UTF 8 thus becoming X u00fcY u00df equal to X xc3 xbcY xc3 x9f . The server should simply echo what I sent it yet returns.. what I sent it yet returns the following X xc3 x83 xc2 xbcY xc3 x83 xc2 x9f should be X xc3 xbcY xc3 x9f . If I decode it.. X xc3 x83 xc2 xbcY xc3 x83 xc2 x9f should be X xc3 xbcY xc3 x9f . If I decode it using str.decode 'utf 8' becomes u'X..