Loosing unicode filenames
@n1vux is already working on this.
Since Sep 25, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
The issue shows ack failing to match a Unicode filename pattern while grep -P works. Look at the ack source code for file name handling and encoding, particularly around Encode::Locale usage. Start by searching for where filenames are read and matched. Test with the provided example to reproduce the issue, then modify the encoding handling to preserve Unicode characters in filenames.
Written by the indexing model from the issue text.
Description
$ ack 'KVN.2025.\(11'
?????? _ ?????????? ?????????????????? _ 31 _ 2025-08-10 _ www.kvnforall.info.ts.txt
135:Файл: KVN.2025.(11).Letnij.Kubok.HDTV.1080i.Remux.www.kvnforall.info.ts
$ grep -P 'KVN.2025.\(11' *
КВН _ Кубок чемпионов _ 31 _ 2025-08-10 _ www.kvnforall.info.ts.txt:Файл: KVN.2025.(11).Letnij.Kubok.HDTV.1080i.Remux.www.kvnforall.info.ts
I usually use use Encode::Locale (); (plus dealing in the code) for such cases.
- Dominant language
- Perl
- Stars
- 833
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from beyondgrep/ack3
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
beyondgrep/ack3#413 · 1 comment ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 62/100
beyondgrep/ack3#147 · 2 reactions ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
beyondgrep/ack3#82 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
beyondgrep/ack3#408 ·
-
Add --nosortMay be free again @petdance claimed this 59 days ago, and no pull request is open. Open
beyondgrep/ack3#403 · 1 comment · 1 assignee ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
libwww-perl/HTTP-Message#236 ·
-
1.severity: security
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
wave-followup
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
benchmarks/README: 'perl BNG2.pl model.bngl' runs the whole protocol, not just generate_networkOpendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day