{"thread":{"id":"46321","subject":"[PATCH] unicode: update the width tables to Unicode 10","startedAt":"2017-07-07T12:17:36Z","lastAt":"2017-07-07T17:02:36Z","messageCount":3,"participants":["Beat Bolli","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"323949","messageId":"20170707120844.18049-1-dev+git@drbeat.li","threadId":"46321","inReplyTo":null,"subject":"[PATCH] unicode: update the width tables to Unicode 10","fromName":"Beat Bolli","fromEmail":"dev+git@drbeat.li","sentAt":"2017-07-07T12:08:44Z","receivedAt":"2017-07-07T12:17:36Z","isPatch":true,"sender":{"key":"dev+git@drbeat.li","avatar":"https://avatars.githubusercontent.com/u/21444?v=4"},"body":"Now that the Unicode 10 has been announced[0], update the character\nwidth tables to the new version.\n\n[0] http://blog.unicode.org/2017/06/announcing-unicode-standard-version-100.html\n\nSigned-off-by: Beat Bolli <dev+git@drbeat.li>\n---\n unicode_width.h | 42 +++++++++++++++++++++++++++++-------------\n 1 file changed, 29 insertions(+), 13 deletions(-)\n\ndiff --git a/unicode_width.h b/unicode_width.h\nindex 02207be4f..6dee2c77c 100644\n--- a/unicode_width.h\n+++ b/unicode_width.h\n@@ -51,6 +51,7 @@ static const struct interval zero_width[] = {\n { 0x0AC7, 0x0AC8 },\n { 0x0ACD, 0x0ACD },\n { 0x0AE2, 0x0AE3 },\n+{ 0x0AFA, 0x0AFF },\n { 0x0B01, 0x0B01 },\n { 0x0B3C, 0x0B3C },\n { 0x0B3F, 0x0B3F },\n@@ -73,7 +74,8 @@ static const struct interval zero_width[] = {\n { 0x0CC6, 0x0CC6 },\n { 0x0CCC, 0x0CCD },\n { 0x0CE2, 0x0CE3 },\n-{ 0x0D01, 0x0D01 },\n+{ 0x0D00, 0x0D01 },\n+{ 0x0D3B, 0x0D3C },\n { 0x0D41, 0x0D44 },\n { 0x0D4D, 0x0D4D },\n { 0x0D62, 0x0D63 },\n@@ -158,7 +160,7 @@ static const struct interval zero_width[] = {\n { 0x1CED, 0x1CED },\n { 0x1CF4, 0x1CF4 },\n { 0x1CF8, 0x1CF9 },\n-{ 0x1DC0, 0x1DF5 },\n+{ 0x1DC0, 0x1DF9 },\n { 0x1DFB, 0x1DFF },\n { 0x200B, 0x200F },\n { 0x202A, 0x202E },\n@@ -262,6 +264,15 @@ static const struct interval zero_width[] = {\n { 0x1171D, 0x1171F },\n { 0x11722, 0x11725 },\n { 0x11727, 0x1172B },\n+{ 0x11A01, 0x11A06 },\n+{ 0x11A09, 0x11A0A },\n+{ 0x11A33, 0x11A38 },\n+{ 0x11A3B, 0x11A3E },\n+{ 0x11A47, 0x11A47 },\n+{ 0x11A51, 0x11A56 },\n+{ 0x11A59, 0x11A5B },\n+{ 0x11A8A, 0x11A96 },\n+{ 0x11A98, 0x11A99 },\n { 0x11C30, 0x11C36 },\n { 0x11C38, 0x11C3D },\n { 0x11C3F, 0x11C3F },\n@@ -269,6 +280,11 @@ static const struct interval zero_width[] = {\n { 0x11CAA, 0x11CB0 },\n { 0x11CB2, 0x11CB3 },\n { 0x11CB5, 0x11CB6 },\n+{ 0x11D31, 0x11D36 },\n+{ 0x11D3A, 0x11D3A },\n+{ 0x11D3C, 0x11D3D },\n+{ 0x11D3F, 0x11D45 },\n+{ 0x11D47, 0x11D47 },\n { 0x16AF0, 0x16AF4 },\n { 0x16B30, 0x16B36 },\n { 0x16F8F, 0x16F92 },\n@@ -339,7 +355,7 @@ static const struct interval double_width[] = {\n { 0x3000, 0x303E },\n { 0x3041, 0x3096 },\n { 0x3099, 0x30FF },\n-{ 0x3105, 0x312D },\n+{ 0x3105, 0x312E },\n { 0x3131, 0x318E },\n { 0x3190, 0x31BA },\n { 0x31C0, 0x31E3 },\n@@ -358,10 +374,11 @@ static const struct interval double_width[] = {\n { 0xFE68, 0xFE6B },\n { 0xFF01, 0xFF60 },\n { 0xFFE0, 0xFFE6 },\n-{ 0x16FE0, 0x16FE0 },\n+{ 0x16FE0, 0x16FE1 },\n { 0x17000, 0x187EC },\n { 0x18800, 0x18AF2 },\n-{ 0x1B000, 0x1B001 },\n+{ 0x1B000, 0x1B11E },\n+{ 0x1B170, 0x1B2FB },\n { 0x1F004, 0x1F004 },\n { 0x1F0CF, 0x1F0CF },\n { 0x1F18E, 0x1F18E },\n@@ -370,6 +387,7 @@ static const struct interval double_width[] = {\n { 0x1F210, 0x1F23B },\n { 0x1F240, 0x1F248 },\n { 0x1F250, 0x1F251 },\n+{ 0x1F260, 0x1F265 },\n { 0x1F300, 0x1F320 },\n { 0x1F32D, 0x1F335 },\n { 0x1F337, 0x1F37C },\n@@ -392,15 +410,13 @@ static const struct interval double_width[] = {\n { 0x1F6CC, 0x1F6CC },\n { 0x1F6D0, 0x1F6D2 },\n { 0x1F6EB, 0x1F6EC },\n-{ 0x1F6F4, 0x1F6F6 },\n-{ 0x1F910, 0x1F91E },\n-{ 0x1F920, 0x1F927 },\n-{ 0x1F930, 0x1F930 },\n-{ 0x1F933, 0x1F93E },\n-{ 0x1F940, 0x1F94B },\n-{ 0x1F950, 0x1F95E },\n-{ 0x1F980, 0x1F991 },\n+{ 0x1F6F4, 0x1F6F8 },\n+{ 0x1F910, 0x1F93E },\n+{ 0x1F940, 0x1F94C },\n+{ 0x1F950, 0x1F96B },\n+{ 0x1F980, 0x1F997 },\n { 0x1F9C0, 0x1F9C0 },\n+{ 0x1F9D0, 0x1F9E6 },\n { 0x20000, 0x2FFFD },\n { 0x30000, 0x3FFFD }\n };\n-- \n2.13.2.753.g7f5404b\n\n"},{"id":"323955","messageId":"xmqqh8yockwr.fsf@gitster.mtv.corp.google.com","threadId":"46321","inReplyTo":"20170707120844.18049-1-dev+git@drbeat.li","subject":"Re: [PATCH] unicode: update the width tables to Unicode 10","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-07-07T15:43:32Z","receivedAt":"2017-07-07T15:43:40Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Beat Bolli <dev+git@drbeat.li> writes:\n\n> Now that the Unicode 10 has been announced[0], update the character\n> width tables to the new version.\n>\n> [0] http://blog.unicode.org/2017/06/announcing-unicode-standard-version-100.html\n>\n> Signed-off-by: Beat Bolli <dev+git@drbeat.li>\n> ---\n\nThanks, again, for keeping an eye on the progress in the external\nworld ;-)  Will apply.\n"},{"id":"323964","messageId":"6AE910B3-BC7C-407B-8EB2-14275E272BA9@ewanet.ch","threadId":"46321","inReplyTo":"xmqqh8yockwr.fsf@gitster.mtv.corp.google.com","subject":"Re: [PATCH] unicode: update the width tables to Unicode 10","fromName":"Beat Bolli","fromEmail":"bbolli@ewanet.ch","sentAt":"2017-07-07T16:53:16Z","receivedAt":"2017-07-07T17:02:36Z","isPatch":true,"sender":{"key":"bbolli@ewanet.ch","avatar":"https://avatars.githubusercontent.com/u/21444?v=4"},"body":"\n\n-- \n„It takes love over gold” — Dire Straits\n\n> On 7 Jul 2017, at 17:43, Junio C Hamano <gitster@pobox.com> wrote:\n> \n> Beat Bolli <dev+git@drbeat.li> writes:\n> \n>> Now that the Unicode 10 has been announced[0], update the character\n>> width tables to the new version.\n\nTypo! Could you drop the first \"the\" from the message?\n\nThanks,\nBeat\n\n>> \n>> [0] http://blog.unicode.org/2017/06/announcing-unicode-standard-version-100.html\n>> \n>> Signed-off-by: Beat Bolli <dev+git@drbeat.li>\n>> ---\n> \n> Thanks, again, for keeping an eye on the progress in the external\n> world ;-)  Will apply.\n\n"}]}