diff --git a/src/lib/icu/Compare.cxx b/src/lib/icu/Compare.cxx index 2f6a79553..6bd4a47a7 100644 --- a/src/lib/icu/Compare.cxx +++ b/src/lib/icu/Compare.cxx @@ -49,7 +49,7 @@ IcuCompare::operator==(const char *haystack) const noexcept try { auto w_haystack = MultiByteToWideChar(CP_UTF8, haystack); return CompareStringEx(LOCALE_NAME_INVARIANT, - NORM_IGNORECASE, + LINGUISTIC_IGNORECASE|NORM_IGNORECASE, w_haystack.c_str(), -1, needle.c_str(), -1, nullptr, nullptr, 0) == CSTR_EQUAL;