persian/arabic search in sqlite android gives bad result

眉间皱痕 提交于 2019-12-03 05:25:12

These strings are different.

The HTML string begins with the characters U+0627, U+062D, and U+0643 (Alef, Hah, and Kaf).

The third character of the typed string is not U+0643 but U+06A9 (Keheh).

Amadas

Sqlite is very simple supported persian/arabic.
read this link. sqlite database in persian language

Try this:

select part from table where season = N'خمس';

If that not help, try using operators like and %.

I'm already using SQLite for more than 2 years in Persian supported projects in production environments and has no problem at all.

Udate:

I'm using SQLite via NHibernate. So myself never generate or write a query. To be honest never noticed how NHibernate send queries to SQLite.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!