Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

support for invalid UTF-8 bytes

Open
#44 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Start with the String- and spacing-related code linked in src/uu/ls/src/ls.rs, then inspect how uutils-term-grid represents and renders cell content. Compare the proposed 8], OsStr(ing), and AsRef API options. Done means grid output can preserve and display invalid UTF-8 byte sequences for the affected ls option combinations.

Written by the indexing model from the issue text.

Description

There are some combinations of options that require ls to display non-UTF-8 byte sequences in a grid. Because this crate only supports String (and spaces), this isn't currently possible. Support should be added for invalid UTF-8 somehow, accepting one of &[u8], OsStr(ing), or AsRef<OsStr>.

Dominant language
Rust
Stars
13
Forks
13
Avg merge
11h 54m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 uutils/uutils-term-grid

All issues in uutils/uutils-term-grid

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.