Comparing ParseFiles and protoc for the file below shows this difference:
"options": protocmp.Message{
"@type": s"google.protobuf.FileOptions",
- "java_outer_classname": string("my\xbcvalue"),
+ "java_outer_classname": string("my�value"),
},
protoc seems to replace characters above 0x7f in option values with their \x escape code, but protoc does not.
syntax = "proto3";
package foo;
option java_outer_classname= "my�value";
The � above is 0xbc