Skip to content

Conversation

@jjonescz
Copy link
Member

@jjonescz jjonescz commented Feb 9, 2023

Follow up on #8099.

  • Fixes EditorConfig settings.
  • Emits baselines in UTF-8 with BOM.

Tested locally with Visual Studio.

@jjonescz jjonescz marked this pull request as ready for review February 9, 2023 09:53
@jjonescz jjonescz requested a review from a team as a code owner February 9, 2023 09:53
[*.{cs,csx,vb,vbx}]
indent_size = 4
insert_final_newline = true
encoding = utf-8-bom
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this from roslyn, so it's likely busted over there too: https://github.com/dotnet/roslyn/blob/main/.editorconfig#L15

Copy link
Member Author

@jjonescz jjonescz Feb 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I checked, Roslyn has charset correctly. encoding was wrong in Razor.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the link you provided to Roslyn is already correct in main.

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I swear to god it showed encoding on my screen 5 seconds ago...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants