From 1656367b90bd29d84d5ebf1ccef560368a1973cf Mon Sep 17 00:00:00 2001 From: cyy Date: Sun, 1 Mar 2020 06:11:57 +0800 Subject: [PATCH] win/l10n: add zh-* locale aliases #11963 --- src/nvim/mbyte.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 85e6697bfb..96fd6ac61f 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -320,7 +320,9 @@ enc_alias_table[] = {"japan", IDX_EUC_JP}, {"korea", IDX_EUC_KR}, {"prc", IDX_EUC_CN}, + {"zh-cn", IDX_EUC_CN}, {"chinese", IDX_EUC_CN}, + {"zh-tw", IDX_EUC_TW}, {"taiwan", IDX_EUC_TW}, {"cp950", IDX_BIG5}, {"950", IDX_BIG5},