From: Bram Moolenaar Date: Tue, 2 Nov 2021 20:24:38 +0000 (+0000) Subject: patch 8.2.3571: some unicode control characters are considered printable X-Git-Tag: v8.2.3571 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2f66064d1c643f0cf12c4791de04bb123705a0c;p=vim patch 8.2.3571: some unicode control characters are considered printable Problem: Some unicode control characters are considered printable. Solution: Make 0x2060 - 0x2069 not printable. --- diff --git a/src/mbyte.c b/src/mbyte.c index 76eab4e2e..759be8bd7 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -2609,7 +2609,7 @@ utf_printable(int c) static struct interval nonprint[] = { {0x070f, 0x070f}, {0x180b, 0x180e}, {0x200b, 0x200f}, {0x202a, 0x202e}, - {0x206a, 0x206f}, {0xd800, 0xdfff}, {0xfeff, 0xfeff}, {0xfff9, 0xfffb}, + {0x2060, 0x206f}, {0xd800, 0xdfff}, {0xfeff, 0xfeff}, {0xfff9, 0xfffb}, {0xfffe, 0xffff} }; diff --git a/src/version.c b/src/version.c index 2f1998026..43e861545 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3571, /**/ 3570, /**/