indygreg / python-build-standalone

Produce redistributable builds of Python
Mozilla Public License 2.0
1.99k stars 127 forks source link

vswhere has a `-utf8` option #107

Open zooba opened 2 years ago

zooba commented 2 years ago

https://github.com/indygreg/python-build-standalone/blob/b292b16d25c61ac7dd962a4a4b52cd34724b33f6/cpython-windows/build.py#L235-L236

If you also pass the -utf8 option to vswhere, you can be guaranteed that it will write out a UTF-8 formatted path.