Register independent search does not work with Russian words.
if (not ignorCase.Checked) then // Учитывать регистр begin SQLQuery.SQL.Text := 'select * from `' +DBNAME+'` WHERE name LIKE ('#39'%'+ItemName.Text+'%'#39') ORDER BY grp DESC, GID DESC'; end else // Не учитывать регистр begin SQLQuery.SQL.Text := 'select * from `' +DBNAME+'` WHERE LOWER(name) LIKE LOWER('#39'%'+ItemName.Text+'%'#39') ORDER BY grp DESC, GID DESC'; end; Is there a ready-made adequate solution for Delphi, which is better than a bicycle with a second column? :(
FTS3table and inserted lower-case strings and, accordingly, the entire search went throughMATCHusing this table. But on Habré write that the most scary option - to useICU: SQLite and full UNICODE - zed