Skip to content

Add missing UTF-8 string validation - #42

Draft
nitely wants to merge 9 commits into
mainfrom
validate_utf8
Draft

nitely wants to merge 9 commits into
mainfrom
validate_utf8

Conversation

@nitely

@nitely nitely commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator

A decoder might or might not want to verify that the sequence of bytes in a UTF-8 string (major type 3) is actually valid UTF-8 and react appropriately. https://www.rfc-editor.org/rfc/rfc8949.html#section-5.3.1

Most likely one wants to validate the strings are UTF-8. It should be a flavor setting though.

@nitely nitely changed the title Fix missing UTF-8 string validation Add missing UTF-8 string validation Aug 26, 2026

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant