mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
44bd5804b0
- Identify filter was as wrong as wrong can be. - Invalid CP1251 byte 0x98 was converted to Unicode 0xFFFD (generic replacement character), rather than respecting `mb_substitute_character`. - Unicode 0xFFFD was converted to some random CP1251 byte. - When converting CP1251 to CP1251, don't pass invalid bytes through silently.