大佬 在吗 我使用咱们的代码跑了之后 解码短信内容 失败 帮忙看看 谢谢
Traceback (most recent call last):
File "
SMSF.py", line 25, in <module>
msg=unicode(msg.decode("hex"), "utf-16-be").encode("utf8")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/
utf_16_be.py", line 16, in decode
return codecs.utf_16_be_decode(input, errors, True)
UnicodeDecodeError: 'utf16' codec can't decode byte 0x61 in position 40: truncated data