1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 12:42:29 +02:00
Files
archived-php-src/ext/mbstring/tests
Alex Dowad caeaa662ab Strict conversion of UHC text to Unicode
Previously, mbstring would accept a lot of things which were not valid
UHC text. No more.

- Don't allow single-byte control characters to appear where the 2nd
  byte of a multi-byte character should be.
- Validate that the 2nd byte of a multi-byte character is in the
  expected range.
- Treat it as an error if a multi-byte character is truncated.

Also add a test suite to confirm that UHC conversion (both to and from
Unicode) works according to spec.
2021-06-17 13:12:40 +02:00
..
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2021-06-11 14:00:43 +02:00
2020-02-03 22:52:20 +01:00