我想设置一个文件的编码采用的参数为ANSI -Encoding的的Set-Contentcmdlet的,我想这一个,但它没有工作:
-Encoding
Set-Content
Set-Content -LiteralPath "$filePath" -Encoding Default
powershell encoding ansi cmdlet powershell-2.0
ansi ×1
cmdlet ×1
encoding ×1
powershell ×1
powershell-2.0 ×1