[php-src] PR #13047: Add support for GB18030-2022 text encoding to mbstring
| From: | alexdowad | Date: | Fri, 29 Dec 2023 17:08:02 +0000 |
| Subject: | [php-src] PR #13047: Add support for GB18030-2022 text encoding to mbstring | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24623@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13047
Author: alexdowad
The relevant standards authorities in the PRC defined a new version of the GB18030 text encoding in
July 2022. Starting from August 2023, support for the new version of GB18030 is mandated for all
software products sold in China.
Fortunately, GB18030-2022 is very similar to GB18030-2005, so just a few tweaks were needed to the
existing code (like changing some entries in various tables) to comply with the new standard.
The existing support for GB18030 is unchanged; users who want to follow the new standard must
explicitly specify
GB18030-2022 as their desired text encoding.
Chinese PHP developers will likely have a special interest in this feature; any who are willing to
do so are requested to test the new GB18030-2022 support and report any bugs via GitHub.
FYA @Girgias @cmb69 @youkidearitai @nielsdos @kamil-tekiela @iluuu1994