Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_scripts/windows/scripts/az
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

AZ_INSTALLER=MSI "$(dirname "${BASH_SOURCE[0]}")/../python.exe" -IBm azure.cli "$@"
AZ_INSTALLER=MSI "$(dirname "${BASH_SOURCE[0]}")/../python.exe" -X utf8 -IBm azure.cli "$@"
2 changes: 1 addition & 1 deletion build_scripts/windows/scripts/az_msi.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

@IF EXIST "%~dp0\..\python.exe" (
SET AZ_INSTALLER=MSI
"%~dp0\..\python.exe" -IBm azure.cli %*
"%~dp0\..\python.exe" -X utf8 -IBm azure.cli %*

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — added the same -X utf8 flag to az and azps.ps1 as well (they hit the identical -IBm isolated-mode encoding issue).

) ELSE (
echo Failed to load python executable.
exit /b 1
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/windows/scripts/az_zip.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

@IF EXIST "%~dp0\..\python.exe" (
SET AZ_INSTALLER=ZIP
"%~dp0\..\python.exe" -IBm azure.cli %*
"%~dp0\..\python.exe" -X utf8 -IBm azure.cli %*
) ELSE (
echo Failed to load python executable.
exit /b 1
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/windows/scripts/azps.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$env:AZ_INSTALLER="MSI"
& "$PSScriptRoot\..\python.exe" -IBm azure.cli $args
& "$PSScriptRoot\..\python.exe" -X utf8 -IBm azure.cli $args

# SIG # Begin signature block
# MIInuQYJKoZIhvcNAQcCoIInqjCCJ6YCAQExDzANBglghkgBZQMEAgEFADB5Bgor
Expand Down
Loading