我试图运行这段代码,并不断给出错误说"没有编码的字符串参数"
ota_packet = ota_packet.encode('utf-8') + bytearray(content[current_pos:(final_pos)]) + '\0'.encode('utf-8')
有帮助吗?
python encoding python-3.x python-unicode
encoding ×1
python ×1
python-3.x ×1
python-unicode ×1