16进制 decode
>>> s=b'\xF0\x9F\x98\x8A'
>>> ss=s.decode()
>>> print(ss)
😊
unicode decode
https://tool.chinaz.com/tools/Unicode.aspx
\ud83d\ude0a
image.png
>>> s=b'\xF0\x9F\x98\x8A'
>>> ss=s.decode()
>>> print(ss)
😊
https://tool.chinaz.com/tools/Unicode.aspx
\ud83d\ude0a
image.png
本文标题:16进制和unicode decode
本文链接:https://www.haomeiwen.com/subject/dsilcdtx.html
网友评论