Zoltan Somogyi
9828700994
Check for surrogate chars in conversions to utf8.
...
library/char.m:
Export a new predicate, char_int_is_surrogate, the duplicates
the job of the MR_is_surrogate macro in the runtime, for use by
the new check in string.m. Add a comment about the code duplication.
The new predicate is not documented for users.
runtime/mercury_string.h:
Add a comment about the code duplication.
library/string.m:
Use the new predicate in char.m to check for surrogates when converting
a code unit list to an utf8 string.
2024-03-26 18:36:25 +11:00
..
2023-01-23 02:29:13 +11:00
2023-06-26 20:05:24 +10:00
2018-08-02 14:45:42 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2021-04-13 11:28:18 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2021-06-06 19:07:20 +10:00
2018-06-09 17:43:12 +10:00
2020-07-24 17:14:07 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2022-12-29 20:33:08 +11:00
2024-02-20 15:09:17 +11:00
2021-04-09 17:41:23 +10:00
2021-04-09 17:36:38 +10:00
2024-01-26 15:52:35 +11:00
2020-10-25 14:45:35 +11:00
2022-12-29 20:33:08 +11:00
2022-12-29 20:33:08 +11:00
2021-04-09 17:41:23 +10:00
2021-04-09 17:41:23 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2021-04-09 17:41:23 +10:00
2021-04-09 17:41:23 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2022-07-05 08:00:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2023-09-09 14:23:50 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2023-11-06 16:15:34 +11:00
2018-06-09 17:43:12 +10:00
2022-08-23 16:39:48 +10:00
2022-08-23 16:39:48 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2019-10-08 21:36:11 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2019-06-10 13:30:49 +10:00
2019-06-10 13:30:49 +10:00
2019-06-10 13:30:49 +10:00
2022-05-01 05:34:10 +10:00
2018-06-09 17:43:12 +10:00
2022-12-29 20:33:08 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-10 14:47:20 +10:00
2018-06-09 17:43:12 +10:00
2019-06-08 16:40:24 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-04-11 19:30:58 +10:00
2022-07-05 08:00:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2022-12-29 20:33:08 +11:00
2020-04-28 10:55:18 +10:00
2022-07-05 08:00:12 +10:00
2018-06-09 17:43:12 +10:00
2023-04-24 14:00:13 +10:00
2018-06-09 17:43:12 +10:00
2023-07-16 22:04:05 +10:00
2018-06-09 17:43:12 +10:00
2022-12-29 20:33:08 +11:00
2022-12-29 20:33:08 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-10-09 05:27:36 +00:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-08-30 05:14:38 +10:00
2023-07-12 10:40:05 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2022-12-29 20:33:08 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2022-07-05 08:00:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-09-11 10:55:30 +10:00
2018-09-11 10:55:30 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2021-01-13 14:22:21 +11:00
2024-02-20 15:09:17 +11:00
2024-02-20 15:09:17 +11:00
2023-10-22 23:45:22 +11:00
2023-10-22 14:34:42 +11:00
2020-10-13 13:32:32 +11:00
2020-10-13 13:32:32 +11:00
2018-07-23 10:26:29 +10:00
2022-07-05 08:00:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2023-12-03 00:19:48 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2023-12-20 15:32:02 +11:00
2024-03-26 18:36:25 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2021-04-09 17:41:23 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2020-04-28 13:36:58 +10:00
2021-04-09 17:41:23 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-10-09 05:27:36 +00:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-11-29 06:01:42 +00:00
2023-10-22 20:59:24 +11:00
2018-06-09 17:43:12 +10:00
2020-01-17 17:09:49 +11:00
2018-06-09 17:43:12 +10:00
2020-02-18 13:07:24 +11:00
2020-02-18 13:07:24 +11:00
2018-06-09 17:43:12 +10:00
2022-01-01 15:53:34 +11:00
2018-08-30 05:14:38 +10:00
2021-04-09 17:41:23 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2023-12-20 15:32:02 +11:00
2021-04-09 17:41:23 +10:00
2018-06-09 17:43:12 +10:00
2022-08-29 10:57:39 +10:00
2022-08-23 16:39:48 +10:00
2018-06-09 17:43:12 +10:00
2023-10-22 14:34:42 +11:00
2022-01-31 14:11:08 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-03-15 17:05:47 +11:00
2022-05-26 12:47:21 +10:00
2023-10-05 23:09:36 +11:00
2019-06-10 13:30:49 +10:00
2020-10-13 13:32:32 +11:00