Skip to content

[NETSDKE2E]Garbage issue happens in new terminal logger output in CLI on Loc OS. #9674

@vdanche

Description

@vdanche

Issue Description

Garbage issue happens in new terminal logger output in CLI on Loc OS.

Steps to Reproduce

Steps to Reproduce
Affect build:
.NET 9.0.100-alpha.1.24072.8 from dotnet/installer: .NET SDK Installer (github.com)
Affected Product Language:
All loc OS

1.In CLI, dotnet new mstest -o mymstest本地化
2.add below code in UnitTest1.cs

    [TestMethod]
    public void TestMethod1()
    {
        Assert.Inconclusive();
    }

    [TestMethod]
    public void TestMethod2()
    {
        Assert.AreEqual(2, 11);

    }

3.dotnet build
4.dotnet test

Expected Result:
the log can be displayed well.
Actual Result:
Garbage issue happen in logs.
Chinese OS:
image

Turkish:
image

EN(not repro):
image

dotnet --info:
.NET SDK:
Version: 9.0.100-alpha.1.24072.8
Commit: ac061bfeca
Workload version: 9.0.100-manifests.fd1572dc

运行时环境:
OS Name: Windows
OS Version: 10.0.22621
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-alpha.1.24072.8\

已安装 .NET 工作负载:
没有要显示的已安装工作负载。

Host:
Version: 9.0.0-alpha.1.24071.3
Architecture: x64
Commit: 8accd8073a

.NET SDKs installed:
9.0.100-alpha.1.24072.8 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-alpha.1.24069.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-alpha.1.24071.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-alpha.1.24071.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Analysis

No response

Versions & Configurations

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triageHave yet to determine what bucket this goes in.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions