2024-10-05 14:28:56 发布
网友
我试图理解使用十六进制的unicode和字节表示法。因此,在python中,我尝试了以下方法
> 'I am a string Ņ'.encode('utf-8') > b'I am a string \xc5\x85'
在这里我明白了\xc5\x85这个表述的含义。Ņ的实际unicode是\u0145
\xc5\x85
Ņ
\u0145
如何\u0145 = \xc5\x85
\u0145 = \xc5\x85
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐