MatMoore / MatMoore/string-inspector

--encoding names should be consistent with what's displayed in the output

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently you request `-e latin1` but it gets displayed as `[windows-1252]`.

The output should reflect the input, unless there's a good reason not to.

We should also consider whether we want to allow multiple aliases of the same encoding.

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 mismatch with the command-line `-e latin1` input and trace how the encoding name is parsed and rendered in the output. Check how aliases are handled and whether multiple aliases for one encoding are supported. Done means the output behavior for the requested name is defined and covered by a suitable test.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.