Set default encoding of Out-File. See about_Character_Encoding.
# On Windows Powershell
# Out-File and the redirection operators > and >> create UTF-16LE.
# Set defautl encoding of Out-File (or > redirection) to UTF-8 (with BOM).
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'