google / google/libprotobuf-mutator
String field xxx contains invalid UTF-8 data when serializing a protocol buffer
Open
- Dominant language
- C++
- Stars
- 667
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
How to fix the error below when I call mutator.Mutate(&message, 4096);
[libprotobuf ERROR google/protobuf/wire_format_lite.cc:577] String field 'xxxxx' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
Contributor guide
Assessment
This issue has not been assessed yet.