nodejs / nodejs/node

fs: utf8 fast paths don't accept all valid utf8 values

Open
#49,888 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

fs
Dominant language
JavaScript
Stars
122k
Forks
37.3k
Avg merge
4d 2h
Merged PRs (30d)
283

Description

UTF8 and UTF-8 are also valid but not accepted by any existing utf8 fast paths (#48658, #49884)

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 tracing Node.js fs UTF-8 fast paths and compare their handling of utf8, UTF8, and UTF-8, using issues #48658 and #49884 for context. Check the existing fs tests covering encoding aliases; done means all valid spellings are accepted consistently by the fast paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.