-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
[FEATURE] Allow ignore tildes and special characters on search #3128
Comments
This looks like a sqlite collate question. I guess someone would need to research and then try how this could be achieved with sqlite and Qt. |
This is how the in-memory note table currently is created: |
And this is one part of the search function: QOwnNotes/src/entities/note.cpp Lines 852 to 872 in 253a9ab
|
Thanks for pointing out to the right direction. From the sqlite docs, no case unicode characters search is not supported but the NOCASE collation can be overriden. One can register their own collating sequence. |
Hm, even if that would work with Qt, I guess that might cause a lot of regressions. |
Is your feature request related to a problem? Please describe.
It would be great to be able to search ignoring tildes, when I search both in the search box and in a script, I have to type exactly how it was written (ignoring uppercase though), so if I'm looking for something like:
Avion means plane in Spanish
I get zero results if the actual text is
Avión means plane in Spanish
Describe the solution you'd like
In search, use these character mappings for example:
...more?
The text was updated successfully, but these errors were encountered: