Skip to content

Conversation

@Naveed8951
Copy link

Replace the existing UTF-8 character length logic with a fully
validated implementation.

The new code validates continuation bytes, rejects overlong encodings,
surrogates, and out-of-range code points, and fails safely on malformed
input instead of producing incorrect character counts.

@CLAassistant
Copy link

CLAassistant commented Jan 9, 2026

CLA assistant check
All committers have signed the CLA.

@rodaine rodaine added Enhancement Extend or improve functionality C++ C++ language support labels Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ C++ language support Enhancement Extend or improve functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants