You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a change in Windows Terminal 1.17 that causes .NET applications that output Unicode characters to the console to have them garbled, because of the default output encoding. This does not happen in prior versions of Windows Terminal, nor in classic "conhost.exe" console windows.
xUnit.net uses characters which are corrupted now when run on Windows Terminal through dotnet test and friends.
Output from xunit.console.exe:
Output from dotnet test (in Windows Terminal-hosted Powershell):
Output from dotnet test (in conhost-hosted Powershell):
While strictly speaking this isn't a bug in VSTest (or xUnit.net), we opted fixed this in xunit/xunit@c4b6ed0 on our side. I would recommend that you consider doing this as well, so that any output from testing frameworks which is outside of ASCII can be presented properly in Windows Terminal.
There was a change in Windows Terminal 1.17 that causes .NET applications that output Unicode characters to the console to have them garbled, because of the default output encoding. This does not happen in prior versions of Windows Terminal, nor in classic "conhost.exe" console windows.
xUnit.net uses characters which are corrupted now when run on Windows Terminal through
dotnet test
and friends.Output from
xunit.console.exe
:Output from
dotnet test
(in Windows Terminal-hosted Powershell):Output from
dotnet test
(in conhost-hosted Powershell):While strictly speaking this isn't a bug in VSTest (or xUnit.net), we opted fixed this in xunit/xunit@c4b6ed0 on our side. I would recommend that you consider doing this as well, so that any output from testing frameworks which is outside of ASCII can be presented properly in Windows Terminal.
AB#1865057
The text was updated successfully, but these errors were encountered: