2025/05/13
That $? automatically includes the boolean success/failure of the previous command and > redirects stdout to a file AS UTF16.
"unicode: ..." | Out-File -FilePath "..." -Encoding UTF8 correctly handles character encoding.
That $? automatically includes the boolean success/failure of the previous command and > redirects stdout to a file AS UTF16.
"unicode: ..." | Out-File -FilePath "..." -Encoding UTF8 correctly handles character encoding.