diff options
| author | shadowxiali <276404541@qq.com> | 2019-06-13 08:41:28 +0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2019-06-12 17:41:28 -0700 |
| commit | 555b760c67fcadea334c109b219c41b12b063413 (patch) | |
| tree | a880bcef7a1f2175beefd958362fff696ed03efd /scripts | |
| parent | 72657582cff173ce285611f32716110cc0ada989 (diff) | |
| download | vcpkg-555b760c67fcadea334c109b219c41b12b063413.tar.gz vcpkg-555b760c67fcadea334c109b219c41b12b063413.zip | |
Update applocal.ps1 (#4942)
* Update applocal.ps1
* Update applocal.ps1
Fix Microsoft#2801,
prev modify mistake UTF8 to UTF
* Update applocal.ps1
in win7 chinese path, must utf8 to avoid copy dll fail
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/msbuild/applocal.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildsystems/msbuild/applocal.ps1 b/scripts/buildsystems/msbuild/applocal.ps1 index cf363f12e..2fdd9fdb4 100644 --- a/scripts/buildsystems/msbuild/applocal.ps1 +++ b/scripts/buildsystems/msbuild/applocal.ps1 @@ -9,7 +9,7 @@ $g_is_debug = $g_install_root -match '(.*\\)?debug(\\)?$' # Ensure we create the copied files log, even if we don't end up copying any files if ($copiedFilesLog) { - Set-Content -Path $copiedFilesLog -Value "" -Encoding Ascii + Set-Content -Path $copiedFilesLog -Value "" -Encoding UTF8 } # Note: this function signature is depended upon by the qtdeploy.ps1 script introduced in 5.7.1-7 @@ -28,7 +28,7 @@ function deployBinary([string]$targetBinaryDir, [string]$SourceDir, [string]$tar Write-Verbose " ${targetBinaryName}: Copying $SourceDir\$targetBinaryName" Copy-Item "$SourceDir\$targetBinaryName" $targetBinaryDir } - if ($copiedFilesLog) { Add-Content $copiedFilesLog "$targetBinaryDir\$targetBinaryName" } + if ($copiedFilesLog) { Add-Content $copiedFilesLog "$targetBinaryDir\$targetBinaryName" -Encoding UTF8 } if ($tlogFile) { Add-Content $tlogFile "$targetBinaryDir\$targetBinaryName" } } |
