Skip to content

Conversation

@carlosjeurissen
Copy link
Contributor

@carlosjeurissen carlosjeurissen commented Mar 19, 2025

Fixes #1926
Fixes #2547

@github-actions github-actions bot changed the title rule text-encoding-identifier-case: Change utf8 canonical to utf-8 Rule text-encoding-identifier-case: Change utf8 canonical to utf-8 Mar 19, 2025
@fisker
Copy link
Collaborator

fisker commented Mar 19, 2025

Please add an option to allow both.

@sindresorhus
Copy link
Owner

sindresorhus commented Mar 19, 2025

The convention in Node.js (and as used in most Node.js docs) is utf8, and I don't see any reason to break that. I'm not against adding an option to support utf-8, but the default should continue to be utf8 (in our docs and code too).

@sindresorhus
Copy link
Owner

Bump :)

@carlosjeurissen
Copy link
Contributor Author

Superseded by:
#2780

@carlosjeurissen carlosjeurissen deleted the rule/text-encoding-identifier-case/switch-to-utf-8 branch October 13, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants