>>>'变态'.encode('utf-8') b'\xe5\x8f\x98\xe6\x80\x81' >>> print(b'\xe5\x8f\x98\xe6\x80\x81'.decode('utf-8')) 变态