| :END | ||
| if defined _OLD_CODEPAGE ( | ||
| "%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul | ||
| set _OLD_CODEPAGE= |
There was a problem hiding this comment.
As you did above, there should be quotes around the assignment, just in case there's any white space at the end, e.g. set "_OLD_CODEPAGE=".
|
Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
|
GH-5765 is a backport of this pull request to the 3.7 branch. |
|
GH-5766 is a backport of this pull request to the 3.6 branch. |
|
This does not work on German systems: We had to revert to Python 3.6, because of this as it will not work on German (or Swiss German) Windows systems: activate.bat breaks on German systems as chcp does not return a plain number. Note the dot at the end:
This leads to
Fortunately it is easy to extract the number from there
|
https://bugs.python.org/issue32409