On Tue, 14 Jan 2025 18:04:39 +0100, Johan Vromans wrote:

> Sorry, there is no terminal involved.

Well, Windows wouldn't be Windows if it hadn't got some suprises up in its
sleeve.

You can ask the PowerShell what code page is default.

[System.Text.Encoding]::Default

On my system, this returned singlebyte iso-8859-1 encoding. This not only
applies to the shells, but this is used throughout the whole system. Even
in the situation described earlier.

To change this,
see 
https://stackoverflow.com/questions/57131654/using-utf-8-encoding-chcp-65001-in-command-prompt-windows-powershell-window

What does your system report?

Reply via email to