[php-src] PR #12876: Use optimized implementation of mb_strcut for Japanese mobile vendor UTF-8 variants
| From: | alexdowad | Date: | Tue, 05 Dec 2023 19:00:01 +0000 |
| Subject: | [php-src] PR #12876: Use optimized implementation of mb_strcut for Japanese mobile vendor UTF-8 variants | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24424@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12876
Author: alexdowad
The Japanese mobile network providers Docomo, KDDI, and Softbank all have (or had) their own variant
of UTF-8. The manner of encoding Unicode codepoints as UTF-8 code units is *exactly* the same as the
standard UTF-8 text encoding; the only difference is that some Private Use Codepoints were assigned
by these vendors to represent their own, proprietary emoji.
There is absolutely no reason not to use the same optimized implementation of
mb_strcut
for these UTF-8 variants as for "normal" UTF-8.
@Girgias @cmb69 @nielsdos @youkidearitai @kamil-tekiela