mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +02:00
![]() mbstring has a bad habit of passing invalid characters through silently when converting to the same (or a "compatible") encoding. For example, if you give it an invalid JIS X 0208 kuten code encoded with SJIS, and try to convert that to EUC-JP, mbstring will just quietly re-encode the invalid code in the EUC-JP representation. At the same, some parts of the code (like `mb_check_encoding`) assume that invalid characters will be treated as... well, invalid. Let's unbreak things by actually catching errors and reporting them, instead of swallowing them. |
||
---|---|---|
.. | ||
libmbfl | ||
tests | ||
ucgendat | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
mb_gpc.c | ||
mb_gpc.h | ||
mbstring.c | ||
mbstring.h | ||
mbstring.stub.php | ||
mbstring_arginfo.h | ||
php_mbregex.c | ||
php_mbregex.h | ||
php_onig_compat.h | ||
php_unicode.c | ||
php_unicode.h | ||
unicode_data.h |