lib/icu/Compare: add LINGUISTIC_IGNORECASE [Windows]

This fixes one check in the "StringFilterTest.Normalize" unit test.
This commit is contained in:
Max Kellermann 2025-03-13 10:31:54 +01:00
parent 9b25d59120
commit 1bd204527e

@ -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;