QSqlTableModel, filter and spec. characters
-
I'm using exisiting SQLITE database and QSqlTableModel. My database tables have "special and latin characters" (č,ć.đ...), and select() return it all, but with setFilter() I have some problems. I read somewhere special characters are case-insensitive in filter. What to do with it?
Example:
title: ČEHOV
sqlModel->setFilter("title LIKE '%č%'") // resault:
sqlModel->setFilter("title LIKE '%Č%'") // resault: ČEHOV