Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set console encoding to UTF8 #4649

Merged
merged 2 commits into from Aug 10, 2023
Merged

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Aug 8, 2023

Set console encoding to UTF8.

Fix #4605

@@ -57,6 +57,9 @@ internal partial class FeatureFlag : IFeatureFlag
// Disable the SerialTestRunDecorator
public const string DISABLE_SERIALTESTRUN_DECORATOR = VSTEST_ + nameof(DISABLE_SERIALTESTRUN_DECORATOR);

// Disable setting UTF8 encoding in console.
public const string DISABlE_UTF8_CONSOLE_ENCODING = VSTEST_ + nameof(DISABlE_UTF8_CONSOLE_ENCODING);
Copy link
Member

Choose a reason for hiding this comment

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

Any reason DISABLE has a lowercase 'l' ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wish I could say I am testing your attention, but I have no idea why. My fingers must have typed it that way. I sometimes type 0 instead of o or O, and vice versa. I guess this is another quirk of l L and 1 looking the same and my brain working in visual way.

Copy link
Member Author

Choose a reason for hiding this comment

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

That comment makes no sense. Probably just typed l without pressing shift, I don't have any caps lock. Fixed.

@nohwnd nohwnd enabled auto-merge (squash) August 10, 2023 12:58
@nohwnd nohwnd merged commit ad65a5e into microsoft:main Aug 10, 2023
7 checks passed
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.

Consider setting Console.OutputEncoding for dotnet test and friends
2 participants