From f00810243f6d7361f926aa253d75b5c637f2734d Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 2 Apr 2024 19:39:37 +0100 Subject: [PATCH] Early adopt UTF-8 Mode on Windows. Python 3.15 will enable UTF-8 mode by default https://peps.python.org/pep-0686/#enable-utf-8-mode-by-default --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index abe7c78a25..a17755a988 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,9 @@ permissions: jobs: windows: + env: + # Python 3.15 will make UTF-8 Mode the default. + PYTHONUTF8: 1 runs-on: windows-latest strategy: matrix: