{"thread":{"id":"58449","subject":"[PATCH] unicode: update the width tables to Unicode 15","startedAt":"2022-09-17T04:18:48Z","lastAt":"2022-09-19T19:00:41Z","messageCount":4,"participants":["Force Charlie via GitGitGadget","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"463134","messageId":"pull.1333.git.git.1663388320380.gitgitgadget@gmail.com","threadId":"58449","inReplyTo":null,"subject":"[PATCH] unicode: update the width tables to Unicode 15","fromName":"Force Charlie via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2022-09-17T04:18:40Z","receivedAt":"2022-09-17T04:18:48Z","isPatch":true,"sender":{"key":"name:Force Charlie","avatar":null},"body":"From: Force Charlie <charlieio@outlook.com>\n\nUnicode 15 Released[0] and including several additional zero/double\nwidth characters.\n\n[0] https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n\nSigned-off-by: Force Charlie <charlieio@outlook.com>\n---\n    unicode: update the width tables to Unicode 15\n    \n    Unicode 15 Released[0] and including several additional zero/double\n    width characters.\n    \n    [0]\n    https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n    \n    Signed-off-by: Force Charlie charlieio@outlook.com\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1333%2Ffcharlie%2Fupdate-unicode-15-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1333/fcharlie/update-unicode-15-v1\nPull-Request: https://github.com/git/git/pull/1333\n\n unicode-width.h | 33 +++++++++++++++++++++------------\n 1 file changed, 21 insertions(+), 12 deletions(-)\n\ndiff --git a/unicode-width.h b/unicode-width.h\nindex 97c851b27df..e15fb0455bb 100644\n--- a/unicode-width.h\n+++ b/unicode-width.h\n@@ -94,7 +94,7 @@ static const struct interval zero_width[] = {\n { 0x0E47, 0x0E4E },\n { 0x0EB1, 0x0EB1 },\n { 0x0EB4, 0x0EBC },\n-{ 0x0EC8, 0x0ECD },\n+{ 0x0EC8, 0x0ECE },\n { 0x0F18, 0x0F19 },\n { 0x0F35, 0x0F35 },\n { 0x0F37, 0x0F37 },\n@@ -228,6 +228,7 @@ static const struct interval zero_width[] = {\n { 0x10AE5, 0x10AE6 },\n { 0x10D24, 0x10D27 },\n { 0x10EAB, 0x10EAC },\n+{ 0x10EFD, 0x10EFF },\n { 0x10F46, 0x10F50 },\n { 0x10F82, 0x10F85 },\n { 0x11001, 0x11001 },\n@@ -252,6 +253,7 @@ static const struct interval zero_width[] = {\n { 0x11234, 0x11234 },\n { 0x11236, 0x11237 },\n { 0x1123E, 0x1123E },\n+{ 0x11241, 0x11241 },\n { 0x112DF, 0x112DF },\n { 0x112E3, 0x112EA },\n { 0x11300, 0x11301 },\n@@ -313,7 +315,12 @@ static const struct interval zero_width[] = {\n { 0x11D95, 0x11D95 },\n { 0x11D97, 0x11D97 },\n { 0x11EF3, 0x11EF4 },\n-{ 0x13430, 0x13438 },\n+{ 0x11F00, 0x11F01 },\n+{ 0x11F36, 0x11F3A },\n+{ 0x11F40, 0x11F40 },\n+{ 0x11F42, 0x11F42 },\n+{ 0x13430, 0x13440 },\n+{ 0x13447, 0x13455 },\n { 0x16AF0, 0x16AF4 },\n { 0x16B30, 0x16B36 },\n { 0x16F4F, 0x16F4F },\n@@ -339,9 +346,11 @@ static const struct interval zero_width[] = {\n { 0x1E01B, 0x1E021 },\n { 0x1E023, 0x1E024 },\n { 0x1E026, 0x1E02A },\n+{ 0x1E08F, 0x1E08F },\n { 0x1E130, 0x1E136 },\n { 0x1E2AE, 0x1E2AE },\n { 0x1E2EC, 0x1E2EF },\n+{ 0x1E4EC, 0x1E4EF },\n { 0x1E8D0, 0x1E8D6 },\n { 0x1E944, 0x1E94A },\n { 0xE0001, 0xE0001 },\n@@ -417,7 +426,9 @@ static const struct interval double_width[] = {\n { 0x1AFF5, 0x1AFFB },\n { 0x1AFFD, 0x1AFFE },\n { 0x1B000, 0x1B122 },\n+{ 0x1B132, 0x1B132 },\n { 0x1B150, 0x1B152 },\n+{ 0x1B155, 0x1B155 },\n { 0x1B164, 0x1B167 },\n { 0x1B170, 0x1B2FB },\n { 0x1F004, 0x1F004 },\n@@ -451,7 +462,7 @@ static const struct interval double_width[] = {\n { 0x1F6CC, 0x1F6CC },\n { 0x1F6D0, 0x1F6D2 },\n { 0x1F6D5, 0x1F6D7 },\n-{ 0x1F6DD, 0x1F6DF },\n+{ 0x1F6DC, 0x1F6DF },\n { 0x1F6EB, 0x1F6EC },\n { 0x1F6F4, 0x1F6FC },\n { 0x1F7E0, 0x1F7EB },\n@@ -459,15 +470,13 @@ static const struct interval double_width[] = {\n { 0x1F90C, 0x1F93A },\n { 0x1F93C, 0x1F945 },\n { 0x1F947, 0x1F9FF },\n-{ 0x1FA70, 0x1FA74 },\n-{ 0x1FA78, 0x1FA7C },\n-{ 0x1FA80, 0x1FA86 },\n-{ 0x1FA90, 0x1FAAC },\n-{ 0x1FAB0, 0x1FABA },\n-{ 0x1FAC0, 0x1FAC5 },\n-{ 0x1FAD0, 0x1FAD9 },\n-{ 0x1FAE0, 0x1FAE7 },\n-{ 0x1FAF0, 0x1FAF6 },\n+{ 0x1FA70, 0x1FA7C },\n+{ 0x1FA80, 0x1FA88 },\n+{ 0x1FA90, 0x1FABD },\n+{ 0x1FABF, 0x1FAC5 },\n+{ 0x1FACE, 0x1FADB },\n+{ 0x1FAE0, 0x1FAE8 },\n+{ 0x1FAF0, 0x1FAF8 },\n { 0x20000, 0x2FFFD },\n { 0x30000, 0x3FFFD }\n };\n\nbase-commit: d3fa443f97e3a8d75b51341e2d5bac380b7422df\n-- \ngitgitgadget\n"},{"id":"463201","messageId":"xmqqo7vbb810.fsf@gitster.g","threadId":"58449","inReplyTo":"pull.1333.git.git.1663388320380.gitgitgadget@gmail.com","subject":"Re: [PATCH] unicode: update the width tables to Unicode 15","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2022-09-19T17:15:07Z","receivedAt":"2022-09-19T17:15:24Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Force Charlie via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n\n> From: Force Charlie <charlieio@outlook.com>\n>\n> Unicode 15 Released[0] and including several additional zero/double\n> width characters.\n>\n> [0] https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n>\n> Signed-off-by: Force Charlie <charlieio@outlook.com>\n> ---\n>     unicode: update the width tables to Unicode 15\n>     \n>     Unicode 15 Released[0] and including several additional zero/double\n>     width characters.\n>     \n>     [0]\n>     https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n\nThanks.\n\nWhere are you getting the information to update these ranges from,\namong 4489 new characters?  Is there a readily accessible URL that\nis more suitable than the announcement of the whole collection?\n"},{"id":"463222","messageId":"xmqqczbr9p3u.fsf@gitster.g","threadId":"58449","inReplyTo":"xmqqo7vbb810.fsf@gitster.g","subject":"Re: [PATCH] unicode: update the width tables to Unicode 15","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2022-09-19T18:49:09Z","receivedAt":"2022-09-19T18:49:14Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> \"Force Charlie via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n>\n>> From: Force Charlie <charlieio@outlook.com>\n>>\n>> Unicode 15 Released[0] and including several additional zero/double\n>> width characters.\n>>\n>> [0] https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n>>\n>> Signed-off-by: Force Charlie <charlieio@outlook.com>\n>> ---\n> Thanks.\n>\n> Where are you getting the information to update these ranges from,\n> among 4489 new characters?  Is there a readily accessible URL that\n> is more suitable than the announcement of the whole collection?\n\nAh, it would probably is a good idea to say what you did to prepare\nthis patch in this case, like:\n\n    Unicode 15 that was released recentry [0] includes several\n    additional zero/double width characters.\n\n    Update unicode-width.h table by cd'ing to contrib/update-unicode/\n    and running update_unicode.sh script there.\n\n    [0] https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n\nor something, I guess.\n\nThanks.\n"},{"id":"463223","messageId":"pull.1333.v2.git.git.1663614033063.gitgitgadget@gmail.com","threadId":"58449","inReplyTo":"pull.1333.git.git.1663388320380.gitgitgadget@gmail.com","subject":"[PATCH v2] unicode: update the width tables to Unicode 15","fromName":"Force Charlie via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2022-09-19T19:00:32Z","receivedAt":"2022-09-19T19:00:41Z","isPatch":true,"sender":{"key":"name:Force Charlie","avatar":null},"body":"From: Force Charlie <charlieio@outlook.com>\n\nUnicode 15 Released[0] and including several additional zero/double\nwidth characters.\n\n[0] https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n\nunicode-width.h regenerated by contrib/update-unicode/update_unicode.sh\n\nSigned-off-by: Force Charlie <charlieio@outlook.com>\n---\n    unicode: update the width tables to Unicode 15\n    \n    Unicode 15 Released[0] and including several additional zero/double\n    width characters.\n    \n    [0]\n    https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n    \n    unicode-width.h regenerated by contrib/update-unicode/update_unicode.sh\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1333%2Ffcharlie%2Fupdate-unicode-15-v2\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1333/fcharlie/update-unicode-15-v2\nPull-Request: https://github.com/git/git/pull/1333\n\nRange-diff vs v1:\n\n 1:  02d214def81 ! 1:  462fc646917 unicode: update the width tables to Unicode 15\n     @@ Commit message\n      \n          [0] https://home.unicode.org/announcing-the-unicode-standard-version-15-0/\n      \n     +    unicode-width.h regenerated by contrib/update-unicode/update_unicode.sh\n     +\n          Signed-off-by: Force Charlie <charlieio@outlook.com>\n      \n       ## unicode-width.h ##\n\n\n unicode-width.h | 33 +++++++++++++++++++++------------\n 1 file changed, 21 insertions(+), 12 deletions(-)\n\ndiff --git a/unicode-width.h b/unicode-width.h\nindex 97c851b27df..e15fb0455bb 100644\n--- a/unicode-width.h\n+++ b/unicode-width.h\n@@ -94,7 +94,7 @@ static const struct interval zero_width[] = {\n { 0x0E47, 0x0E4E },\n { 0x0EB1, 0x0EB1 },\n { 0x0EB4, 0x0EBC },\n-{ 0x0EC8, 0x0ECD },\n+{ 0x0EC8, 0x0ECE },\n { 0x0F18, 0x0F19 },\n { 0x0F35, 0x0F35 },\n { 0x0F37, 0x0F37 },\n@@ -228,6 +228,7 @@ static const struct interval zero_width[] = {\n { 0x10AE5, 0x10AE6 },\n { 0x10D24, 0x10D27 },\n { 0x10EAB, 0x10EAC },\n+{ 0x10EFD, 0x10EFF },\n { 0x10F46, 0x10F50 },\n { 0x10F82, 0x10F85 },\n { 0x11001, 0x11001 },\n@@ -252,6 +253,7 @@ static const struct interval zero_width[] = {\n { 0x11234, 0x11234 },\n { 0x11236, 0x11237 },\n { 0x1123E, 0x1123E },\n+{ 0x11241, 0x11241 },\n { 0x112DF, 0x112DF },\n { 0x112E3, 0x112EA },\n { 0x11300, 0x11301 },\n@@ -313,7 +315,12 @@ static const struct interval zero_width[] = {\n { 0x11D95, 0x11D95 },\n { 0x11D97, 0x11D97 },\n { 0x11EF3, 0x11EF4 },\n-{ 0x13430, 0x13438 },\n+{ 0x11F00, 0x11F01 },\n+{ 0x11F36, 0x11F3A },\n+{ 0x11F40, 0x11F40 },\n+{ 0x11F42, 0x11F42 },\n+{ 0x13430, 0x13440 },\n+{ 0x13447, 0x13455 },\n { 0x16AF0, 0x16AF4 },\n { 0x16B30, 0x16B36 },\n { 0x16F4F, 0x16F4F },\n@@ -339,9 +346,11 @@ static const struct interval zero_width[] = {\n { 0x1E01B, 0x1E021 },\n { 0x1E023, 0x1E024 },\n { 0x1E026, 0x1E02A },\n+{ 0x1E08F, 0x1E08F },\n { 0x1E130, 0x1E136 },\n { 0x1E2AE, 0x1E2AE },\n { 0x1E2EC, 0x1E2EF },\n+{ 0x1E4EC, 0x1E4EF },\n { 0x1E8D0, 0x1E8D6 },\n { 0x1E944, 0x1E94A },\n { 0xE0001, 0xE0001 },\n@@ -417,7 +426,9 @@ static const struct interval double_width[] = {\n { 0x1AFF5, 0x1AFFB },\n { 0x1AFFD, 0x1AFFE },\n { 0x1B000, 0x1B122 },\n+{ 0x1B132, 0x1B132 },\n { 0x1B150, 0x1B152 },\n+{ 0x1B155, 0x1B155 },\n { 0x1B164, 0x1B167 },\n { 0x1B170, 0x1B2FB },\n { 0x1F004, 0x1F004 },\n@@ -451,7 +462,7 @@ static const struct interval double_width[] = {\n { 0x1F6CC, 0x1F6CC },\n { 0x1F6D0, 0x1F6D2 },\n { 0x1F6D5, 0x1F6D7 },\n-{ 0x1F6DD, 0x1F6DF },\n+{ 0x1F6DC, 0x1F6DF },\n { 0x1F6EB, 0x1F6EC },\n { 0x1F6F4, 0x1F6FC },\n { 0x1F7E0, 0x1F7EB },\n@@ -459,15 +470,13 @@ static const struct interval double_width[] = {\n { 0x1F90C, 0x1F93A },\n { 0x1F93C, 0x1F945 },\n { 0x1F947, 0x1F9FF },\n-{ 0x1FA70, 0x1FA74 },\n-{ 0x1FA78, 0x1FA7C },\n-{ 0x1FA80, 0x1FA86 },\n-{ 0x1FA90, 0x1FAAC },\n-{ 0x1FAB0, 0x1FABA },\n-{ 0x1FAC0, 0x1FAC5 },\n-{ 0x1FAD0, 0x1FAD9 },\n-{ 0x1FAE0, 0x1FAE7 },\n-{ 0x1FAF0, 0x1FAF6 },\n+{ 0x1FA70, 0x1FA7C },\n+{ 0x1FA80, 0x1FA88 },\n+{ 0x1FA90, 0x1FABD },\n+{ 0x1FABF, 0x1FAC5 },\n+{ 0x1FACE, 0x1FADB },\n+{ 0x1FAE0, 0x1FAE8 },\n+{ 0x1FAF0, 0x1FAF8 },\n { 0x20000, 0x2FFFD },\n { 0x30000, 0x3FFFD }\n };\n\nbase-commit: d3fa443f97e3a8d75b51341e2d5bac380b7422df\n-- \ngitgitgadget\n"}]}