summaryrefslogtreecommitdiff
path: root/src/euc_kr.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-12-21 13:52:15 +0100
committerJörg Frings-Fürst <debian@jff.email>2018-12-21 13:52:15 +0100
commitb746c25a6800aabc468eee653d8bca8e7810f633 (patch)
treeae87806ec6d6b65e9d3ae1729ccf253e12324e96 /src/euc_kr.c
parenteb5b295d37e9150e169cc95cbbc39f6ab7b88b2f (diff)
parent8d7d4edacab0298f96a3826819c01b4e8f6cbcfb (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/euc_kr.c')
-rw-r--r--src/euc_kr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/euc_kr.c b/src/euc_kr.c
index def311b..9b62514 100644
--- a/src/euc_kr.c
+++ b/src/euc_kr.c
@@ -161,7 +161,9 @@ OnigEncodingType OnigEncodingEUC_KR = {
euckr_is_allowed_reverse_match,
NULL, /* init */
NULL, /* is_initialized */
- is_valid_mbc_string
+ is_valid_mbc_string,
+ ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_SKIP_OFFSET_1_OR_0,
+ 0, 0
};
/* Same with OnigEncodingEUC_KR except the name */
@@ -185,6 +187,6 @@ OnigEncodingType OnigEncodingEUC_CN = {
NULL, /* init */
NULL, /* is_initialized */
is_valid_mbc_string,
- ENC_FLAG_ASCII_COMPATIBLE,
+ ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_SKIP_OFFSET_1_OR_0,
0, 0
};