Skip to content

Implemented UTF-16 surrogate pair matching using \x{dddddd}.#266

Open
da40 wants to merge 1 commit intoboostorg:developfrom
da40:surrogate_pairs
Open

Implemented UTF-16 surrogate pair matching using \x{dddddd}.#266
da40 wants to merge 1 commit intoboostorg:developfrom
da40:surrogate_pairs

Conversation

@da40
Copy link

@da40 da40 commented Dec 27, 2025

It was not possible to search for UTF-16 characters that had to be represented as surrogate pairs (e.g. 😑 occupies 4 bytes). This amendment converts a UTF-32 code point entered as \x{dddddd} to its equivalent UTF-16 surrogate pair.

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