Content search fails for Katakana words containing dakuten/handakuten
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 368
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 2
Description
Distribution
Mint 22.3
Package version
6.6.3
Frequency
Always
Bug description
When using Nemo's built-in content search, words written in Katakana that contain dakuten or handakuten are not found.
Examples:
Works:
- オイル
Fails:
- ランプ
- ピザ
- ブドウ
- ガラス
The same files can be searched successfully with grep, so the file contents are correct.
Searching by filename works correctly.
The problem only affects searching inside file contents.
Steps to reproduce
- Create a UTF-8 text file containing the word "ランプ".
- Open the folder in Nemo.
- Click the search button.
- Select content search.
- Search for "ランプ".
The search returns "No files found".
Searching for "オイル" in another text file works correctly.
Expected behavior
Nemo should find UTF-8 text containing Katakana words regardless of whether they include dakuten or handakuten.
The search results should match grep.
Additional information
Environment:
- Linux Mint 22.3 (Zena)
- Nemo 6.6.3+zena
- Locale: ja_JP.UTF-8
The same search works correctly on another machine:
- Linux Mint 22.2 (Zara)
- Nemo 6.4.5+xia
So this appears to be a regression introduced between Nemo 6.4.5 and 6.6.3.
Terminal output from starting Nemo:
Nemo-WARNING **: Action '90_new-launcher.nemo_action' is missing dependency: cinnamon-desktop-editor
I do not think this warning is related to the search issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with Nemo's content search using UTF-8 text containing ランプ, ピザ, ブドウ, or ガラス, and compare the result with grep and Nemo 6.4.5. Trace the content-search path across the regression range; done means Katakana words with dakuten or handakuten are found while filename search remains working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100