ls: LC_COLLATE impacts display
Open
Nobody has claimed this yet.
U - ls
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
LC_COLLATE=C is a common setting for functionality and/or speed of sorting
$ touch 'tést'
$ LC_COLLATE=C ls
tést
$ LC_COLLATE=C uu_ls
't'$'\303\251''st'
Contributor 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.
Research direction
Start by reproducing the displayed difference between LC_COLLATE=C ls and LC_COLLATE=C uu_ls with the non-ASCII filename shown. Trace the ls command's locale-sensitive display path and compare its output with the reference behavior. Done means uu_ls displays the filename consistently with ls under this setting, with a regression test for the case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100