bpo-34144: Fix of venv acvtivate.bat for win 10 (GH-8321) · python/cpython@6955d44 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 6955d44

LorenzMendemiss-islington

authored and

committed

File tree

2 files changed

lines changed

2 files changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
1 1 @echo off
2 2
3 3 rem This file is UTF-8 encoded, so we need to update the current code page while executing it
4 -for /f "tokens=2 delims=:" %%a in ('"%SystemRoot%\System32\chcp.com"') do (
4 +for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (
5 5 set "_OLD_CODEPAGE=%%a"
6 6 )
7 7 if defined _OLD_CODEPAGE (

Lines changed: 2 additions & 0 deletions

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1 +Fixed activate.bat to correctly update codepage when chcp.com returns dots in output.
2 +Patch by Lorenz Mende.