libprotobuf ERROR

google/protobuf/wire_format.cc:1059] Encountered string containing invalid UTF-8 data while parsing protocol buffer. Strings must contain only UTF-8; use the 'bytes' type for raw bytes.

 

 

通过上图可以看出,通过在protobuf文件中使用bytes类型替代string类型,代码中不需要做任何修改可以解决。

posted @ 2013-10-08 22:58  TheBug  阅读(2273)  评论(0)    收藏  举报