summaryrefslogtreecommitdiff
path: root/enc/trans/chinese.trans
diff options
context:
space:
mode:
Diffstat (limited to 'enc/trans/chinese.trans')
-rw-r--r--enc/trans/chinese.trans3
1 files changed, 3 insertions, 0 deletions
diff --git a/enc/trans/chinese.trans b/enc/trans/chinese.trans
index 9221b03292..1db6565254 100644
--- a/enc/trans/chinese.trans
+++ b/enc/trans/chinese.trans
@@ -1,6 +1,9 @@
#include "transcode_data.h"
<%
+ set_valid_byte_pattern 'GB2312', 'EUC-KR'
+ set_valid_byte_pattern 'GB12345', 'EUC-KR'
+
transcode_tblgen "GB2312", "UTF-8",
[["{00-7f}", :nomap]] +
citrus_decode_mapsrc("euc", 0x8080, "GB2312/UCS")