Skip to content

ext/intl: Use ICU U16_APPEND_UNSAFE macro for UTF-16 surrogate pair encoding#21954

Merged
devnexen merged 1 commit intophp:masterfrom
LamentXU123:clean-up-intl
May 5, 2026
Merged

ext/intl: Use ICU U16_APPEND_UNSAFE macro for UTF-16 surrogate pair encoding#21954
devnexen merged 1 commit intophp:masterfrom
LamentXU123:clean-up-intl

Conversation

@LamentXU123
Copy link
Copy Markdown
Contributor

Use U16_APPEND_UNSAFE for UTF-16 surrogate pair encoding instead of manually operating pointers.

Small clean-ups :)

@devnexen
Copy link
Copy Markdown
Member

devnexen commented May 5, 2026

since PHP is pre-validating via TARGET_CHECK, this is the right call.

@devnexen devnexen merged commit 608c3ed into php:master May 5, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants