Skip to content

Commit cb146f8

Browse files
authored
Force utf8 mode on Windows (#3925)
* Force utf8 mode on Windows * Fix timeout * Syntax fixes
1 parent a143a87 commit cb146f8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/tools/scripts/run_and_test_website.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ echo "Building website"
2626
call npm run generate
2727

2828
echo "Starting website"
29-
start python main.py
29+
rem # Can remove -Xutf8 argument after Python 3.15 is everywhere - https://peps.python.org/pep-0686/
30+
start python -Xutf8 main.py
3031
rem # Sleep for 5 seconds to make sure server is up
3132
timeout /t 5 /nobreak
3233
rem # Use sleep as well in case running in GitBash where above command fails

0 commit comments

Comments
 (0)