Python Unicode string stored as ‘\u84b8\u6c7d\u5730’ in file, how to convert it back to Unicode?

>>> print '\u84b8\u6c7d\u5730'.decode('unicode-escape')
蒸汽地

Leave a Comment