File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -877,6 +877,10 @@ def _create_batch_scripts_initial(self):
877877set WINPYVER="""
878878 + self .winpyver
879879 + r"""
880+ rem 2023-02-12 try utf-8 on console
881+ rem see https://github.com/pypa/pip/issues/11798#issuecomment-1427069681
882+ set PYTHONIOENCODING=utf-8
883+
880884set HOME=%WINPYDIRBASE%\settings
881885rem read https://github.com/winpython/winpython/issues/839
882886rem set USERPROFILE=%HOME%
@@ -1032,6 +1036,10 @@ def _create_batch_scripts_initial(self):
10321036$env:WINPYVER = '"""
10331037 + self .winpyver
10341038 + r"""'
1039+ # rem 2023-02-12 try utf-8 on console
1040+ # rem see https://github.com/pypa/pip/issues/11798#issuecomment-1427069681
1041+ $env:PYTHONIOENCODING = "utf-8"
1042+
10351043$env:HOME = "$env:WINPYDIRBASE\settings"
10361044
10371045# rem read https://github.com/winpython/winpython/issues/839
You can’t perform that action at this time.
0 commit comments