From be8b30a997e35ca977736777fdb9900f0fd688bb Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 4 Nov 2022 20:01:15 -0500 Subject: [PATCH] Cleanup: Add comment about BOM. --- level_0/f_utf/c/private-utf_control.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/level_0/f_utf/c/private-utf_control.c b/level_0/f_utf/c/private-utf_control.c index aadc3eb..d6d1a7d 100644 --- a/level_0/f_utf/c/private-utf_control.c +++ b/level_0/f_utf/c/private-utf_control.c @@ -77,6 +77,9 @@ extern "C" { return F_true; } + // The U+FEFF is used for the byte order mark (BOM). + // The use as a zero-width space is no longer supported as of Unicode 3.2. + // The BOM is meaningless in UTF-8. // Arabic Presentation Forms-B: U+FEFF. if (sequence == 0xefbbbf00) { return F_true; -- 1.8.3.1