Accented Search in sqlite (android)

前端 未结 3 889
时光取名叫无心
时光取名叫无心 2020-12-11 08:30

I have a column where some of the elements contain accented letters. eg : Grambú

My requirement is that when I search for \"Grambu\" I should get \"Grambú\" in the r

3条回答
  •  情深已故
    2020-12-11 08:55

    http://www.sqlite.org/lang_expr.html

    (A bug: SQLite only understands upper/lower case for ASCII characters by default. The LIKE operator is case sensitive by default for unicode characters that are beyond the ASCII range. For example, the expression 'a' LIKE 'A' is TRUE but 'æ' LIKE 'Æ' is FALSE.)

提交回复
热议问题