Jump to content

Case insensitive search for non-Latin characters


Recommended Posts

  • 2 weeks later...
  • 3 months later...

But is it bug and need to be fixed. The clause of the bug not in Android settings, Android provides you sqlite3. Sqlite 3 supports UTF-8 and UTF-16, but doesn't works with case-insensitive LIKE and ORDER BY for characters that out of ASCII-range. I found a several ways to resolve this problem:

- ICU extension for sqlite3 (http://stackoverflow.com/questions/3944207/unicode-support-in-android-ndk)

- CursorWrapper (https://gist.github.com/ramzes642/5400792)
- Create additionally field for search and store therein lowercase'd text

 

Please don't forget for non-English users ;)

  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...