Skip to content

Invalid UTF-8 in strings are not rejected #146

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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