Windows ENV encoding
Actions has some issues with Windows CI, most related to the console encoding. I thought I'd start with the spec tests and see what was failing.
On a standard Windows 10 desktop, console encoding is IBM437. ENV.keys and ENV.values are all encoded IBM437.
When the console is switched to UTF-8, ENV.keys and ENV.values are all encoded ASCII-8BIT.
I verified this using both cmd and PowerShell consoles, using both mingw and mswin builds.
On cmd console,
chcp changes Ruby's external & locale encodings, the PowerShell command that mimics it is
No data to display