Closed mi-hol closed 5 years ago
could be related to https://github.com/Microsoft/WSL/issues/3018
could be related to #3018
Probably not directly unless WSLENV
is in play somehow here, which I don't think it is. The problem over there is a pretty specific bad interaction.
sudo localectl
That isn't going to work because no systemd
install Ubuntu 1804 =>results in a strange locale 'en-US-POSIX' that I was unable to change!
No need to yell.
$ sudo locale-gen de_DE.UTF-8
$ sudo update-locale LANG=de_DE.UTF-8
Notably enough, whatever behavior PowerShell exhibiting with en-US-POSIX
(assuming it is even incorrect behavior) is going to be the same on Real Linux
Thanks @therealkenc Good to have a workaround but what really concerns me is the different behavior of WSL Ubuntu1704 and WSL Ubuntu1804 in this matter.
PS: not sure to understand your comment 'No need to yell.'
but what really concerns me is the different behavior of WSL Ubuntu1704 and WSL Ubuntu1804 in this matter.
The launcher changed between 16.04 and 18.04 may be the cause of this (analogous to but different than #3273). There is no difference in WSL behavior, and WSL does not control Ubuntu behavior.
PS: not sure to understand your comment 'No need to yell.'
Ausrufezeichen übersetzt schlecht
Symbolische Bedeutungen aus https://de.wikipedia.org/wiki/Ausrufezeichen Das Ausrufezeichen steht allgemein für ‚wichtig‘, insbesondere für eine Warnung (‚Achtung‘), oder für ‚Gefahr‘ und ‚Gefährdung‘. Achtung vor Gefahr! (Straßenverkehr, international üblich)
That road sign translates badly too. I changed my locale to en_CA
and all I got was:
Windows build number: Microsoft Windows [Version 10.0.17134.228] with Ubuntu 1804 distribution and Windows host set to 'culture' German (Germany) but Windows UI language = English(US)
What you're doing and what's happening:
PowerShell commands requiring a confirmation only accept UPPER case response
What's wrong / what should be happening instead: confirmations are case insensitive. This has the impact of case in-sensitive powershell scripts suddenly being CASE sensitive for prompts. Meaning portability is lost!
Steps required to reproduce
Confirmation that standard Ubuntu 18.04 in a VM doesn't show this issue https://github.com/PowerShell/PowerShell/issues/7639 due to a different LCID. Also issue does NOT appear in Ubuntu 1704! I failed to set a different locale due to error