dotnet / dotnet/msbuild

[Tests]: Some tests are failing when Windows is set to use codepage 65001

Open
#10,638 0 comments 0 reactions 0 assignees View on GitHub
bug Priority:2 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Issue Description

At least `ToolTask_Tests.ToolTaskCanUseUnicode` and `EncodingUtilities_Tests.CanEncode` tests are failing when UTF-8 support is enabled. I would proactively disable these tests in this scenario, but I'm not familiar with the background (or reason) for these encoding tests :)

### Steps to Reproduce

Go to: `Control panel > Region > Administrative > Change system locale` and enable `Use Unicode UTF-8 for worldwide language support`

Run mentioned tests

### Expected Behavior

Tests should pass

### Actual Behavior

Tests are failing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.