git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] unicode: update the width tables to Unicode 15.1

From
Beat Bolli <dev+git@drbeat.li>
Date
Sep 25, 2023, 19:07 UTC
Message-ID
<20230925190704.157731-1-dev+git@drbeat.li>

Unicode 15.1 has been announced on 2023-09-12 [0], so update the character width tables to the new version.

[0] http://blog.unicode.org/2023/09/announcing-unicode-standard-version-151.html
Signed-off-by: Beat Bolli <dev+git@drbeat.li>
---
 unicode-width.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/unicode-width.h b/unicode-width.h
index e15fb0455b..be5bf8c4f2 100644
--- a/unicode-width.h
+++ b/unicode-width.h
@@ -396,14 +396,13 @@ static const struct interval double_width[] = {
 { 0x2E80, 0x2E99 },
 { 0x2E9B, 0x2EF3 },
 { 0x2F00, 0x2FD5 },
-{ 0x2FF0, 0x2FFB },
-{ 0x3000, 0x303E },
+{ 0x2FF0, 0x303E },
 { 0x3041, 0x3096 },
 { 0x3099, 0x30FF },
 { 0x3105, 0x312F },
 { 0x3131, 0x318E },
 { 0x3190, 0x31E3 },
-{ 0x31F0, 0x321E },
+{ 0x31EF, 0x321E },
 { 0x3220, 0x3247 },
 { 0x3250, 0x4DBF },
 { 0x4E00, 0xA48C },
-- 
2.40.1
Message 1 of 1 in “unicode: update the width tables to Unicode 15.1”
  1. unicode: update the width tables to Unicode 15.1Beat Bolli, Sep 25, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.