Search code examples
unicodesqlitenormalizationunicode-normalization

How to make sqlite use unicode equivalence for queries


Sqlite seems to compare unicode strings by code point instead of using unicode equivalence. I need sqlite to use canonical unicode equivalence. Is there a way to do this?

I am using sqlite 3.7.13


Solution

  • You would have to define your own collating sequence, either by writing your own, or by using the ICU extension.