-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Case in-sensitive search doesn't work for cyrrylic letters #4051
Comments
One more addition to the topic, if you will use cyrrylic letters and the letter's case from note and search request will match - search will give you the results. So it's something connected with cyrrylics AND letter's case at the same time. |
I don't think this really is a bug! This is more of a Cyrillic letters issue, coz ASCII value of текст is 209 130 208 181 208 186 209 129 209 130 and ASCII Value of TeKct is 208 162 208 181 208 154 209 129 208 162 Values converted using: https://www.browserling.com/tools/text-to-ascii |
As @JodhwaniMadhur mentioned, it looks like this is a limitation of the db (by choice). See: https://www.sqlite.org/faq.html#q18 |
@RoccoSmit hey, thank for the reponse. Yeah, it seems this is the sqllite limitation. I have tried to go with postgres and the oficial docker-compose from the website but got same error as here: So I had to change doker image from stable to latest to make everything work: version: "3.0" db: All in all after changing DB from Sqlite to Postgress case insensitive search for Unicode started to work. So thank you for the help! |
Describe the bug
When you create a record with word "text" and trying to search for "TeXt" - everything works correctly, but if you try to do the same with cyrrylics, like "текст" and "ТеКсТ" - search is not working.
Steps to reproduce
The version of Memos you're using.
0.22.5
Screenshots or additional context
The text was updated successfully, but these errors were encountered: