From f5ccd374548af765976e6ad957033e2adfff806b Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 14 Apr 2022 21:36:43 -0500 Subject: [PATCH] Bugfix: Three-width UTF-8 characters are improperly being detected as unassigned. This is due to a simple typo where the last two digits (the zeros) are missing from the hex digit. The UTF-8 character sequence for U+FFF0 is 0xef 0xbf 0xb0. --- level_0/f_utf/c/utf/private-is_unassigned.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_0/f_utf/c/utf/private-is_unassigned.c b/level_0/f_utf/c/utf/private-is_unassigned.c index a9a7635..dcd7d6f 100644 --- a/level_0/f_utf/c/utf/private-is_unassigned.c +++ b/level_0/f_utf/c/utf/private-is_unassigned.c @@ -1341,7 +1341,7 @@ extern "C" { } // Specials: U+FFF0 to U+FFF8. - if (character >= 0xefb000 && character <= 0xefbfb800) { + if (character >= 0xefbfb000 && character <= 0xefbfb800) { return F_true; } -- 1.8.3.1