Simon Tatham
6332497afb
test_unicode_norm: fix display of failing tests.
...
There was a bytes / array elements confusion in the code that prints
out the input and output Unicode strings when a test fails. It was
using a loop with index variable 'pos', which was used as an array
index, but incremented by sizeof(a character) each time, leading to
only every fourth character actually being printed.
I assume this is leftover confusion from when I hadn't quite decided
whether to abuse the char-based strbuf for these Unicode character
buffers, or make a specialist type.
Discovered when I reached for this test program just now in order to
manually decompose a Unicode string. It doesn't have a convenient CLI
for that, but it was a thing I already knew where to find!
2025-04-04 23:05:51 +01:00
..
2021-11-19 15:09:17 +00:00
2024-06-29 12:18:28 +01:00
2021-04-18 08:18:27 +01:00
2022-04-25 14:10:16 +01:00
2021-04-18 08:18:27 +01:00
2022-04-25 14:10:16 +01:00
2022-05-01 11:27:37 +01:00
2021-11-19 10:35:38 +00:00
2022-09-06 11:39:01 +01:00
2021-04-18 08:18:27 +01:00
2022-11-26 10:32:36 +00:00
2022-10-22 01:22:10 +01:00
2021-04-18 08:18:27 +01:00
2024-12-13 19:24:41 +00:00
2022-05-18 13:05:17 +01:00
2023-09-22 16:23:37 +01:00
2024-09-23 16:49:29 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2024-11-21 12:59:00 +00:00
2021-04-18 08:18:27 +01:00
2022-07-07 17:34:24 +01:00
2022-08-03 20:48:46 +01:00
2023-02-17 17:16:54 +00:00
2023-05-29 15:08:49 +01:00
2023-02-17 17:16:54 +00:00
2021-10-24 10:48:25 +01:00
2024-09-26 11:30:07 +01:00
2024-09-26 11:30:07 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2023-05-29 15:08:49 +01:00
2024-12-13 19:24:41 +00:00
2022-11-09 19:02:32 +00:00
2022-11-09 19:02:32 +00:00
2021-04-18 08:18:27 +01:00
2022-06-25 14:32:23 +01:00
2021-04-18 08:30:44 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2022-04-24 08:39:04 +01:00
2024-06-29 12:00:12 +01:00
2023-02-18 14:11:31 +00:00
2021-04-18 08:18:27 +01:00
2021-12-28 18:08:31 +00:00
2022-11-09 19:00:04 +00:00
2024-12-07 22:36:11 +00:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2022-06-25 14:30:39 +01:00
2022-06-25 14:30:39 +01:00
2022-11-26 10:49:03 +00:00
2022-06-25 14:30:39 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00
2022-07-07 18:05:32 +01:00
2022-09-13 11:26:57 +01:00
2021-04-18 08:18:27 +01:00
2024-06-29 11:49:32 +01:00
2021-04-19 17:14:01 +01:00
2022-04-15 17:46:06 +01:00
2021-12-28 18:08:31 +00:00
2021-04-18 08:18:27 +01:00
2022-04-24 08:39:04 +01:00
2021-04-22 18:09:13 +01:00
2022-04-24 08:38:27 +01:00
2021-04-18 08:18:27 +01:00
2022-11-09 19:02:32 +00:00
2023-12-18 14:47:48 +00:00
2025-04-03 12:35:37 +01:00
2023-02-17 17:16:54 +00:00
2025-04-04 23:05:51 +01:00
2021-04-18 08:18:27 +01:00
2023-04-19 14:28:36 +01:00
2021-04-18 08:18:27 +01:00
2022-11-11 08:44:07 +00:00
2021-04-18 08:30:44 +01:00
2022-07-07 18:05:32 +01:00
2021-12-22 15:05:04 +00:00
2022-09-03 11:59:12 +01:00
2022-09-03 11:59:12 +01:00
2021-04-18 08:18:27 +01:00
2022-09-03 11:59:12 +01:00
2023-05-29 15:41:50 +01:00
2021-04-18 08:18:27 +01:00