uutils / uutils/coreutils

ls: LC_COLLATE impacts display

Open
#12,011 1 comment 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.