Skip to content

Invalid UTF-8 in strings are not rejected #146

@kirk91

Description

@kirk91

The proto2 and proto3 specifications state that the string type must be encoded as valid UTF-8, and the golang protobuf implementation would reject invalid utf8 string on marshaling and unmarshaling in proto3.

I am wondering if vtprotobuf can support UTF-8 string validation for proto3 to ensure consistent behavior with the canonical implementation.

Here are the related issues and changes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions