aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-12 23:02:02 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-12 23:02:02 +0530
commita8bca5f440510967764c9f4ed7978d42c30eef04 (patch)
tree7d2811a12de2f6b5779b586bc1b90b111d3a7ed3 /src/nnn.c
parentdda34f5c73545034d61c4936d773d105149b1bd0 (diff)
downloadnnn-a8bca5f440510967764c9f4ed7978d42c30eef04.tar.gz
Enable UTF8 for PCRE
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index a31b30e..571530e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2059,7 +2059,7 @@ static char xchartohex(char c)
static char * (*fnstrstr)(const char *haystack, const char *needle) = &strcasestr;
#ifdef PCRE
static const unsigned char *tables;
-static int pcreflags = PCRE_NO_AUTO_CAPTURE | PCRE_EXTENDED | PCRE_CASELESS;
+static int pcreflags = PCRE_NO_AUTO_CAPTURE | PCRE_EXTENDED | PCRE_CASELESS | PCRE_UTF8;
#else
static int regflags = REG_NOSUB | REG_EXTENDED | REG_ICASE;
#endif