Skip to content

Instantly share code, notes, and snippets.

@komeda-shinji
Last active August 29, 2015 14:23
Show Gist options
  • Save komeda-shinji/7448c6f4a9a1fae9060f to your computer and use it in GitHub Desktop.
Save komeda-shinji/7448c6f4a9a1fae9060f to your computer and use it in GitHub Desktop.
GNU screen bug #16666: "[PATCH] Support for UAX#11 East Asian Ambiguous characters" should be exclude BOX DRAWINGS characters
--- encoding.c 2014-04-26 20:32:54.000000000 +0900
+++ encoding.c 2015-06-27 04:04:26.000000000 +0900
@@ -1005,8 +1005,13 @@
{ 0x2264, 0x2267 }, { 0x226A, 0x226B }, { 0x226E, 0x226F },
{ 0x2282, 0x2283 }, { 0x2286, 0x2287 }, { 0x2295, 0x2295 },
{ 0x2299, 0x2299 }, { 0x22A5, 0x22A5 }, { 0x22BF, 0x22BF },
+#if 0
{ 0x2312, 0x2312 }, { 0x2460, 0x24E9 }, { 0x24EB, 0x254B },
{ 0x2550, 0x2573 }, { 0x2580, 0x258F }, { 0x2592, 0x2595 },
+#else
+ { 0x2312, 0x2312 }, { 0x2460, 0x24E9 }, { 0x24EB, 0x24FF },
+ { 0x2580, 0x258F }, { 0x2592, 0x2595 },
+#endif
{ 0x25A0, 0x25A1 }, { 0x25A3, 0x25A9 }, { 0x25B2, 0x25B3 },
{ 0x25B6, 0x25B7 }, { 0x25BC, 0x25BD }, { 0x25C0, 0x25C1 },
{ 0x25C6, 0x25C8 }, { 0x25CB, 0x25CB }, { 0x25CE, 0x25D1 },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment