lib/icu/Compare: add fallback using strcasecmp() and strcasestr()

Our IcuCaseFold() fallback using strxfrm() is not actually case
insensitive.  This commit fixes the problem by switching to
strcasecmp().  That function is not guaranteed to support UTF-8, but
it's the best we can do in this sparse situation.

Closes #111
This commit is contained in:
Max Kellermann
2017-09-20 23:43:06 +02:00
parent 66646d9276
commit 1295a1272a
4 changed files with 31 additions and 0 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@ ver 0.20.11 (not yet released)
- curl: support Content-Type application/xml
* decoder
- ffmpeg: more reliable song duration
* fix case insensitive search without libicu
ver 0.20.10 (2017/08/24)
* decoder