diff --git a/src/string.cpp b/src/string.cpp
index 4c714a2e02..fc27d8b5ed 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -595,7 +595,7 @@ int strnatcmp(const char *s1, const char *s2, bool ignore_garbage_at_front)
#endif
/* Do a normal comparison if ICU is missing or if we cannot create a collator. */
- return strcasecmp(s1, s2);
+ return strcoll(s1, s2);
}
#ifdef WITH_UNISCRIBE