I have a string x as below
x = "\xe9\x94\x99\xe8\xaf\xaf"
This string should be Unicode string, but cannot be displayed (print) correctly.
And the string y is Unicode string/ bytes started with b, And y can be displayed correctly by y.decode('utf-8')
y = b"\xe9\x94\x99\xe8\xaf\xaf"
My question is how to convert x to y ?
"é[x][x]è"forx, and"[x][x]"fory.