summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--enc/euc_cn.c1
-rw-r--r--enc/gb18030.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/enc/euc_cn.c b/enc/euc_cn.c
index b6494f91ace..c30f4aa8476 100644
--- a/enc/euc_cn.c
+++ b/enc/euc_cn.c
@@ -9,3 +9,4 @@ Init_euc_cn(void)
}
ENC_ALIAS("eucCN", "EUC-CN");
+ENC_ALIAS("GB2312", "EUC-CN");
diff --git a/enc/gb18030.c b/enc/gb18030.c
index 1d48ef23d64..65666ec3af9 100644
--- a/enc/gb18030.c
+++ b/enc/gb18030.c
@@ -493,6 +493,4 @@ OnigEncodingDefine(gb18030, GB18030) = {
gb18030_left_adjust_char_head,
gb18030_is_allowed_reverse_match
};
-ENC_REPLICATE("GBK", "GB18030");
-ENC_REPLICATE("CP936", "GB18030");
-ENC_ALIAS("Windows-936", "GBK");
+