diff --git a/src/dependencies/local-build.ps1 b/src/dependencies/local-build.ps1 index 3e2236dd19..68fba1694a 100644 --- a/src/dependencies/local-build.ps1 +++ b/src/dependencies/local-build.ps1 @@ -117,7 +117,7 @@ try { $tempPbConfPath = Separator "$playbookTemp\playbook.conf" if ($patterns.Count -gt 0) { - Get-Content "playbook.conf" | Where-Object { $_ -notmatch ($patterns -join '|') } | Set-Content $tempPbConfPath + Get-Content -Encoding "utf8" "playbook.conf" | Where-Object { $_ -notmatch ($patterns -join '|') } | Set-Content -Encoding "utf8" $tempPbConfPath } $customYmlPath = Separator "Configuration\custom.yml"