question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

German umlauts aren't displayed correctly for at least dotnet tool restore

See original GitHub issue

Describe the bug

When having the following locale enabled on Windows: de-AT, German umlauts aren’t displayed correctly.

Wiederherzustellende Projekte werden ermittelt… Das Tool “microsoft.dnceng.secretmanager” (Version 1.1.0-beta.23219.2) wurde wiederhergestellt. Verf├╝gbare Befehle: secret-manager Das Tool “microsoft.dnceng.patgeneratortool” (Version 1.1.0-beta.22580.1) wurde wiederhergestellt. Verf├╝gbare Befehl e: pat-generator

To Reproduce

  1. Set locale to de-AT and run an Arcade build: git clone https://github.com/dotnet/arcade && cd arcade && Build.cmd
  2. Observe in the restore output that umlauts are displayed incorrectly.

FWIW this is the command that invokes the dotnet tool restore: https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Arcade.Sdk/tools/Tools.proj#L55

Further technical details

  • Include the output of dotnet --info
PS C:\git\arcade> dotnet --info
.NET SDK:
 Version:   8.0.100-preview.3.23178.7
 Commit:    e300b0e1e6

Laufzeitumgebung:
 OS Name:     Windows
 OS Version:  10.0.22621
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\8.0.100-preview.3.23178.7\

.NET workloads installed:
Es sind keine installierten Workloads zum Anzeigen vorhanden.

Host:
  Version:      8.0.0-preview.3.23174.8
  Architecture: x64
  Commit:       47bad717bd

.NET SDKs installed:
  7.0.105 [C:\Program Files\dotnet\sdk]
  7.0.300-preview.23179.2 [C:\Program Files\dotnet\sdk]
  8.0.100-preview.3.23178.7 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.0-preview.3.23177.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.0-preview.3.23174.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.0-preview.3.23178.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

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

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

Issue Analytics

  • State:open
  • Created 4 months ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dsplaistedcommented, Jun 27, 2023

Is this still an issue with later previews? @nagilson fixed some encoding issues, for Preview 5 I think.

1reaction
ViktorHofercommented, May 12, 2023

DOTNET_CLI_UI_LANGUAGE

Maybe setting this env var isn’t sufficient to repro the issue? I’m from Austria which is why my operating system language locale is “de-AT”. Just saying that this could be tied to the underlying operating system locale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

German "Umlaute" (ä,ö ü, ß etc.) in text in your ASP Controls
HI, I've got Problems with german "Umlaute" in text in your ASP Controls. Look at the Image in the attachment. The Group caption...
Read more >
Troubleshoot .NET tool usage issues
Discover the common issues when running .NET tools and possible solutions.
Read more >
PSCredential containing German umlauts in New- ...
NET implementation detail, so I got no solution off the top of my head except not using umlauts, or build the proxy yourself...
Read more >
emacs counts German umlaut as two columns
I want emacs to only count äöü and ÄÖÜ and potentially ß as one column, which it also looks like, so that I...
Read more >
Not able to display Special German characters in form in ...
Hello, I have converted my source code from Delphi to Lazarus (V 2.2.2). But after building code in Lazarus , I am not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found