[php-src] PR #11335: Fix mb_strlen is wrong length for CP932 when 0x80.
| From: | youkidearitai | Date: | Mon, 29 May 2023 03:10:37 +0000 |
| Subject: | [php-src] PR #11335: Fix mb_strlen is wrong length for CP932 when 0x80. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22608@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11335
Author: youkidearitai
related: #11259
I found
mb_strlen function result is wrong when $from_encoding is CP932
that 0x80 for PHP 8.2 and PHP 8.1.
I fix PHP 8.2 and PHP 8.1 mblen_table on mbfilter_cp932.c
FYA @alexdowad @Girgias @pakutoma