ls: Column alignment breaks in Japanese locale

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start at the ls long-format (-l) output path and reproduce the column alignment problem under the Japanese locale, focusing on width handling for Hiragana and the displayed "なし" group value. Done means the long listing columns remain aligned in the Japanese locale, including when that value appears.

Written by the indexing model from the issue text.

Description

C-bug E-help-wanted P-medium

In the Japanese locale, ls ーl sometimes display the group as "なし" (none). Hiragana characters have the width of two characters in the terminal, and the columns become misaligned.

Image
Dominant language
Rust
Stars
5.2k
Forks
107
Avg merge
2d 19h
Merged PRs (30d)
4

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.

More from microsoft/coreutils

All issues in microsoft/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.