Skip to content

charset setting should be reconsidered: using utf-8-bom instead of utf-8Β #79

@julealgon

Description

@julealgon

Describe the feature

UTF-8 with BOM is the standard used by Visual Studio. There are comments around advocating for its use, such as this one:
dotnet/docs#19794 (comment)

I'm aware there are also places suggesting that the byte order mark is not recommended, but I'd like to open this to raise the discussion on what the best default for this would be considering this project is supposed to host good defaults for folks to use.

editorconfig/editorconfig#297

Interestingly enough, I've also noticed that when creating a brand new project in VS, and then asking to create a new .editorconfig file, the charset option is not set. I don't understand why that is the case.

Rules

https://spec.editorconfig.org/index.html#:~:text=are%20case%20insensitive.-,charset,-Set%20to%20latin1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssues describing an enhancement or pull requests adding an enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions