python脚本,解决数据编码问题:Decode error, we have tried use gbk encoding, but both failed.
问题翻译:Decode error, we have tried use gbk encoding, but both failed. Please check the current system encoding and contact the engineering staff解码错误,我们已经尝试使用gbk编码,但都失败了。请检查当前系统编码并联系工程人员解决方法:执行命令都统一用 同一个方法, 自己定义的方法在脚本找,都尝试下自动转码utf-8,通常都会在脚本开头规定好解决思路:先查看脚本