From 5caeecb0e7cc2d9809ed6e95072847dacac164ff Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Sat, 10 Feb 2024 18:38:37 -0400 Subject: [PATCH] Make pip toggle utf8 --- PipAllowGlobalToggle/PipAllowGlobalToggle.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PipAllowGlobalToggle/PipAllowGlobalToggle.ps1 b/PipAllowGlobalToggle/PipAllowGlobalToggle.ps1 index bf6ba4b..25f91b3 100644 --- a/PipAllowGlobalToggle/PipAllowGlobalToggle.ps1 +++ b/PipAllowGlobalToggle/PipAllowGlobalToggle.ps1 @@ -26,7 +26,7 @@ if (Test-Path $location) { Write-Host $newPipConfig # Write the new content to the file - $newPipConfig | Out-File $location -Force + $newPipConfig | Out-File $location -Force -Encoding utf8 } else { # If it doesn't exist, create it New-Item -Path $location -ItemType File