使用binary类型的字段会报错
ffbh123456 opened this issue · comments
看报错好像是sproto.decode的时候把binary当做utf-8的string了?
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 0: invalid start byte
The above exception was the direct cause of the following exception:
分支是py3_test
看着像是
Line 233 in 2ea7948
是的,我把s#改成了y#好像就可以了
sproto_encode可能也有问题,不过我没有测试过
@ZhouJiaZhi 非常感谢!修复了一版,可以更新py3_test分支后再试
测了下没有发现问题,感谢