In [17]: u"this".encode('utf-8') Out[17]: 'this' In [18]: u"this".encode('utf-16') Out[18]: '\xff\xfet\x00h\x00i\x00s\x00'. Decoding bytes to text – you get ...
確定! 回上一頁