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
..
2025-02-13 20:20:17 +01:00
2024-08-29 01:31:19 +02:00
2022-04-04 04:18:07 +02:00
2022-12-13 01:43:49 +01:00
2024-07-03 11:46:06 +02:00
2013-03-11 15:59:21 +08:00
2013-03-11 15:59:21 +08:00
2000-08-27 21:12:29 +00:00
2000-08-27 21:12:29 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
1999-06-02 17:44:04 +00:00
2023-10-06 12:28:59 +02:00
2023-10-06 12:28:59 +02:00
2001-04-10 16:38:06 +00:00
1999-06-02 17:44:04 +00:00