summaryrefslogtreecommitdiff
path: root/src/cp1251.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cp1251.c')
-rw-r--r--src/cp1251.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cp1251.c b/src/cp1251.c
index e217037..7b19855 100644
--- a/src/cp1251.c
+++ b/src/cp1251.c
@@ -200,6 +200,6 @@ OnigEncodingType OnigEncodingCP1251 = {
NULL, /* init */
NULL, /* is_initialized */
onigenc_always_true_is_valid_mbc_string,
- ENC_FLAG_ASCII_COMPATIBLE,
+ ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_SKIP_OFFSET_1,
0, 0
};