摘要: 阅读全文
posted @ 2013-10-08 23:20 TheBug 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: google/protobuf/wire_format.cc:1059]EncounteredstringcontaininginvalidUTF-8datawhileparsingprotocolbuffer.StringsmustcontainonlyUTF-8;usethe'bytes'typeforrawbytes.通过上图可以看出,通过在protobuf文件中使用bytes类型替代string类型,代码中不需要做任何修改可以解决。 阅读全文
posted @ 2013-10-08 22:58 TheBug 阅读(2135) 评论(0) 推荐(0) 编辑