summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-21 22:15:30 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-21 22:15:30 +0100
commitd63aff0a65b955447de2fd8bfdaee29b61ce2843 (patch)
tree818754da6152333473b2c6dc06e48efdf314ffd3 /src/mbyte.c
parentb86f10ee10bdf932df02bdaf601dffa671518a47 (diff)
downloadvim-git-d63aff0a65b955447de2fd8bfdaee29b61ce2843.tar.gz
patch 7.4.1630v7.4.1630
Problem: Unicode table for double width is outdated. Solution: Update to the latest Unicode standard.
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 01b13c861..811f80d9e 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -1252,6 +1252,11 @@ utf_char2cells(int c)
{0xfe68, 0xfe6b},
{0xff01, 0xff60},
{0xffe0, 0xffe6},
+ {0x1b000, 0x1b001},
+ {0x1f200, 0x1f202},
+ {0x1f210, 0x1f23a},
+ {0x1f240, 0x1f248},
+ {0x1f250, 0x1f251},
{0x20000, 0x2fffd},
{0x30000, 0x3fffd}
};
@@ -3351,6 +3356,7 @@ static convertStruct toUpper[] =
{0x10cc0,0x10cf2,1,-64},
{0x118c0,0x118df,1,-32}
};
+
/*
* Return the upper-case equivalent of "a", which is a UCS-4 character. Use
* simple case folding.