summaryrefslogtreecommitdiff
path: root/src/utf8.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-05-02 17:28:55 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-05-02 17:28:55 +0200
commit83ea1be016fd5fc27ee721cf62a18716675815dc (patch)
tree5d566283b63e5d719cd9715628dd9573b230f140 /src/utf8.c
parent10abcf77cc24dfae451d96310b4391dad35906ed (diff)
New upstream version 6.8.2upstream/6.8.2
Diffstat (limited to 'src/utf8.c')
-rw-r--r--src/utf8.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/utf8.c b/src/utf8.c
index a5c4dbe..22a8db1 100644
--- a/src/utf8.c
+++ b/src/utf8.c
@@ -29,7 +29,7 @@
#include "regenc.h"
-//#define USE_INVALID_CODE_SCHEME
+/* #define USE_INVALID_CODE_SCHEME */
#ifdef USE_INVALID_CODE_SCHEME
/* virtual codepoint values for invalid encoding byte 0xfe and 0xff */
@@ -296,5 +296,7 @@ OnigEncodingType OnigEncodingUTF8 = {
onigenc_always_true_is_allowed_reverse_match,
NULL, /* init */
NULL, /* is_initialized */
- is_valid_mbc_string
+ is_valid_mbc_string,
+ ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_UNICODE,
+ 0, 0
};