Possible Duplicate:
Conversion of strings like \\uXXXX in python
Hi, suppose I have the string
test
'\\u0259'
Note the escaped backslash.
How do I convert it to the respective unicode string?
>>> print('test \\u0259'.decode('unicode-escape'))
test ə
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With