Skip to content

nemo-search-engine-advanced.c: Fix Unicode content search - #3829

Open
BreezeDelegate wants to merge 1 commit into
linuxmint:masterfrom
BreezeDelegate:fix/content-search-unicode
Open

nemo-search-engine-advanced.c: Fix Unicode content search#3829
BreezeDelegate wants to merge 1 commit into
linuxmint:masterfrom
BreezeDelegate:fix/content-search-unicode

Conversation

@BreezeDelegate

Copy link
Copy Markdown

Content search started normalizing the query pattern to NFD while matching file contents in their original UTF-8 form. Precomposed characters such as Katakana with dakuten or handakuten therefore stopped matching.

Keep content patterns unchanged, restoring the pre-6.6 behavior and leaving filename normalization unaffected. Add an end-to-end regression test that searches a temporary text file containing ランプ through the advanced search engine.

Fixes #3817

Tested with a full Ninja build and the new Meson content-search test on Linux Mint 22.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Content search fails for Katakana words containing dakuten/handakuten

1 participant