Ascii ?
This commit is contained in:
parent
6e7a6cc6f4
commit
c726bfa0f7
|
|
@ -246,7 +246,7 @@ $computerName = $env:COMPUTERNAME
|
|||
$reportName = 'windows_system_report_' + $computerName + '_' + $timestamp + '.txt'
|
||||
$reportPath = Join-Path $OutputDirectory $reportName
|
||||
|
||||
$encoding = New-Object System.Text.UTF8Encoding($false)
|
||||
$encoding = $encoding = [System.Text.Encoding]::ASCII
|
||||
$writer = New-Object System.IO.StreamWriter($reportPath, $false, $encoding)
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue