-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Like does not work with Russian symbols? (ICU support) #1025
Comments
Having studied the documentation of SQLite, I learned that you need to connect the ICU library. How can this be done in this plugin? Thanks. |
You need to use it with a version of SQLite compiled with There is an open ticket for it though, see clemensg/sqlite3pod#13 Another option would be to do the lower case transformation on the “Swift” side, and pass it through to the query (not always possible, but would work for the simple example you gave above). |
Hi, just wanted to let you know that I added a branch with experimental support for ICU. I could only test it on macOS 12.1 so far, so it would be great if you could try it out and report back. |
@clemensg great, thanks for the notification, will try it out! |
Hello. I use like with lowercaseString and Russian symbols but LOWER doesn't convert them to lowercase in the query. I tried to create my own function but it didn't work for me. How to solve this problem? Thanks.
// in name value: ПРИВЕТ from database
let search_name = "Привет"
user.filter(name.lowercaseString.like("%" + search_name.lowercased() + "%"))
The text was updated successfully, but these errors were encountered: