Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid UTF-8 in strings are not rejected #146

Open
kirk91 opened this issue Nov 8, 2024 · 0 comments
Open

Invalid UTF-8 in strings are not rejected #146

kirk91 opened this issue Nov 8, 2024 · 0 comments

Comments

@kirk91
Copy link

kirk91 commented Nov 8, 2024

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant