MatMoore / MatMoore/string-inspector
--encoding names should be consistent with what's displayed in the output
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
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 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