php-src/ext/mbstring
Alex Dowad bc18e32690 Do not pass invalid ISO-8859-{3,6,7,8} characters through silently
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.
2020-10-16 22:17:45 +02:00
..
libmbfl Do not pass invalid ISO-8859-{3,6,7,8} characters through silently 2020-10-16 22:17:45 +02:00
tests Merge branch 'PHP-8.0' 2020-10-13 20:41:33 +02:00
ucgendat [ci skip] Move OpenLDAP license to redistributable info file 2019-05-06 23:02:46 +02:00
config.m4 Remove redundant includes from mbstring (and make sure correct config.h is used) 2020-08-31 23:17:58 +02:00
config.w32 Remove redundant includes from mbstring (and make sure correct config.h is used) 2020-08-31 23:17:58 +02:00
CREDITS
mb_gpc.c Don't guard mbstring code with #ifdef HAVE_MBSTRING 2020-08-31 23:18:13 +02:00
mb_gpc.h Don't guard mbstring code with #ifdef HAVE_MBSTRING 2020-08-31 23:18:13 +02:00
mbstring.c Remove unused IS_SJIS1 and IS_SJIS2 macros 2020-10-14 08:31:51 +02:00
mbstring.h Don't guard mbstring code with #ifdef HAVE_MBSTRING 2020-08-31 23:18:13 +02:00
mbstring.stub.php Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
mbstring_arginfo.h Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
php_mbregex.c Normalize mb_ereg() return value 2020-10-13 20:40:55 +02:00
php_mbregex.h Fix [-Wundef] warning in MBString extension 2020-05-16 15:31:20 +02:00
php_onig_compat.h
php_unicode.c Don't guard mbstring code with #ifdef HAVE_MBSTRING 2020-08-31 23:18:13 +02:00
php_unicode.h Don't guard mbstring code with #ifdef HAVE_MBSTRING 2020-08-31 23:18:13 +02:00
unicode_data.h Update Unicode tables to 13.0.0 2020-03-12 11:29:51 +01:00