Skip to content
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

Provide unicode-invariant search #7

Open
zozlak opened this issue Jul 2, 2020 · 0 comments
Open

Provide unicode-invariant search #7

zozlak opened this issue Jul 2, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zozlak
Copy link
Member

zozlak commented Jul 2, 2020

Currently arche-core stores strings just as they are provided. It would be probably better to normalize them first (to any UTF-8 normalization form) to make searches more reliable.

Using NFKD might be the most desirable as it would allow an easy implementation of language-specific-characters-invariant searches by applying NKFD and skipping all characters with codes > 127 we get pure ASCII string equivalent (although it will only work for alphabets close to English). Of course this should be considered a separate feature.

https://redmine.acdh.oeaw.ac.at/issues/16809

@zozlak zozlak self-assigned this Jul 2, 2020
@zozlak zozlak added the enhancement New feature or request label Oct 6, 2020
@zozlak zozlak added this to the 1.7 milestone Oct 16, 2020
@zozlak zozlak removed this from the 1.8 milestone Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant