Is there a way to convert a \x
escaped string like "\\xe8\\xaa\\x9e\\xe8\\xa8\\x80"
into readable form: "語言"
?
>>> a = "\\xe8\\xaa\\x9e\\xe8\\xa8\\x80"
>>> print(a)
\xe8\xaa\x9e\xe8\xa8\x80
I am aware that there is a similar question here, but it seems the solution is only for latin characters. How can I convert this form of string into readable CJK characters?