Eugene Sandulenko
ed4ec96b44
GRAPHICS: MACGUI: Fix links with Unicode characters
...
If there are unicode characters in the link, it was leading to
wrong length calculation.
Example of such link:
![Menü-Symbol](menu.png \"Menü-Symbol\"){w=10em}
The problem is that for simplicity, we are working with UTF8 in
Markdown, but still with U32String in MacTextCanvas. This led to
the string length be calculated for UTF8, which is a multibyte
encoding. As a result, we were overshooting the link parsing
and reading texts as numbers.
This is kind of a hacky solution: we convert text to U32 before
caluclating the string length
2024-01-07 00:39:25 +01:00
..
2023-12-29 18:00:54 +02:00
2023-12-24 13:19:25 +01:00
2024-01-07 00:39:25 +01:00
2023-12-26 20:23:59 +01:00
2023-12-28 09:31:31 +01:00
2023-08-03 10:34:00 +02:00
2023-12-26 20:23:59 +01:00
2023-04-29 13:37:45 +02:00
2023-05-03 15:22:17 +02:00
2023-11-10 14:36:55 +01:00
2023-01-19 10:32:26 +01:00
2022-12-22 23:45:14 +01:00
2023-02-19 23:51:09 +01:00
2023-10-29 02:02:11 +02:00
2023-04-10 12:21:29 +02:00
2023-09-17 00:56:28 +02:00
2023-04-16 21:13:50 +02:00
2023-03-17 14:50:48 +01:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2022-01-12 08:26:39 +00:00
2022-01-12 08:26:39 +00:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2022-11-12 19:32:57 -08:00
2022-05-07 20:51:44 +03:00
2021-12-26 18:48:43 +01:00
2023-08-13 00:22:10 +02:00
2023-11-12 18:36:08 +01:00
2023-02-28 01:58:13 +01:00
2023-10-29 01:44:22 +02:00
2023-12-11 23:07:20 +02:00
2023-10-24 20:16:34 +02:00
2023-11-11 23:01:16 +01:00
2023-11-11 23:01:16 +01:00
2021-12-26 18:48:43 +01:00
2023-12-26 20:23:59 +01:00
2022-12-04 00:08:48 +01:00
2022-10-08 23:39:18 +02:00
2022-09-19 00:38:28 +02:00
2022-09-09 02:21:47 +02:00
2022-06-26 18:32:10 +02:00
2022-04-10 18:11:46 +02:00
2023-08-03 10:34:00 +02:00
2023-01-11 19:15:48 +01:00
2023-02-12 09:44:51 +01:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2023-05-19 21:16:17 +02:00
2023-05-14 23:23:44 +02:00
2023-11-12 18:36:08 +01:00
2023-11-12 18:36:08 +01:00
2023-03-16 19:20:50 +01:00
2023-03-16 19:20:50 +01:00
2022-09-08 19:10:42 +02:00
2022-09-08 19:10:42 +02:00
2023-10-29 01:09:52 +02:00
2023-08-13 00:22:10 +02:00
2021-12-26 18:48:43 +01:00
2021-12-26 18:48:43 +01:00
2023-04-15 02:04:16 +02:00
2023-04-15 02:04:16 +02:00
2023-11-06 13:40:38 +02:00
2023-09-17 00:56:28 +02:00
2023-04-06 21:38:19 +02:00
2022-12-11 22:33:23 +01:00
2023-06-19 08:43:40 +03:00
2023-06-19 08:43:40 +03:00