mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
9f5a4b3bd9
- Identify filter was completely wrong. - Respect `mb_substitute_character` rather than converting invalid bytes to Unicode 0xFFFD (generic replacement character). - Don't convert Unicode 0xFFFD to a valid ARMSCII-8 character. - When converting ARMSCII-8 to ARMSCII-8, don't pass invalid bytes through silently.