Prepare for BOM-less UTF-8 default character encoding with respect to $OutputEncoding and console code page · Issue #4681 · PowerShell/PowerShell
BOM-less UTF-8 character encoding is coming as the default for PowerShell Core on all platforms. Two attendant changes are required: Preference variable $OutputEncoding, which currently defaults to...