Home > other >  Python how to decode in the string coding.
Python how to decode in the string coding.

Time:10-08


For example:
STR='\ x9de \ x96 \ xb1f \ xe2 \ x80jMi \ xeb \ x9b \ x12 \ x9d \ xc4 \ x1b'
How to decode the STS tr

CodePudding user response:

Baidu first what is this code,
Read with find coding, conversion to utf8

CodePudding user response:

Utf8, but I don't know how to convert the string into a bytes object, turning directly, it is about the encoding and decoding, very confused
  • Related