[php-src] PR #21954: ext/intl: Use ICU U16_APPEND_UNSAFE macro for UTF-16 surrogate pair encoding
| From: | LamentXU123 | Date: | Tue, 05 May 2026 16:14:52 +0000 |
| Subject: | [php-src] PR #21954: ext/intl: Use ICU U16_APPEND_UNSAFE macro for UTF-16 surrogate pair encoding | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36028@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21954
Author: LamentXU123
Use
[U16_APPEND_UNSAFE](https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/utf16_8h.html#aea8253343c96066779cd3383080cafa8)
for UTF-16 surrogate pair encoding instead of manually operating pointers.
Small clean-ups :)