Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force utf8 mode on Windows #3925

Merged
merged 3 commits into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tools/scripts/run_and_test_website.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ echo "Building website"
call npm run generate

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