From: Kevin Day Date: Fri, 15 Apr 2022 02:36:43 +0000 (-0500) Subject: Bugfix: Three-width UTF-8 characters are improperly being detected as unassigned. X-Git-Tag: 0.5.10~211 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=f5ccd374548af765976e6ad957033e2adfff806b;p=fll 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. --- 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; }