Nick Wellnhofer 69b83bb68e encoding: Detect truncated multi-byte sequences with ICU
Unlike iconv or the internal converters, ICU consumes truncated multi-
byte sequences at the end of an input buffer. We currently check for a
non-empty raw input buffer to detect truncated sequences, so this fails
with ICU.

It might be possible to inspect the pivot buffer pointers, but it seems
cleaner to implement a `flush` flag for some encoding and I/O functions.
After flushing, we can check for U_TRUNCATED_CHAR_FOUND with ICU, or
detect remaining input with other converters.

Also fix detection of truncated sequences for HTML, XML content and
DTDs with iconv.
2025-03-13 22:15:10 +01:00
..
2024-01-05 20:39:40 +01:00
2024-06-16 18:47:12 +02:00
2023-09-21 14:47:25 +02:00
2023-12-11 22:05:47 +01:00
2024-10-06 20:04:00 +02:00
2024-04-04 12:23:39 +02:00
2023-11-27 13:43:06 +01:00
2023-12-11 22:05:47 +01:00
2024-06-27 14:44:55 +02:00
2025-03-04 17:38:10 +01:00
2023-12-07 12:31:16 +01:00
2025-03-05 12:24:38 +01:00
2023-12-11 22:05:47 +01:00
2024-06-12 19:55:47 +02:00
2024-07-23 19:57:32 +02:00
2024-07-16 17:42:10 +02:00