diff --git a/src/pcresearch.c b/src/pcresearch.c index 9ba1227..939e8d6 100644 --- a/src/pcresearch.c +++ b/src/pcresearch.c @@ -62,7 +62,7 @@ Pcompile (char const *pattern, size_t size) #if defined HAVE_LANGINFO_CODESET if (STREQ (nl_langinfo (CODESET), "UTF-8")) - flags |= PCRE_UTF8; + flags |= PCRE_NO_UTF8_CHECK; #endif /* FIXME: Remove these restrictions. */