File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
qgis_deployment_toolbelt/commands Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 43
43
- " 3.13"
44
44
45
45
runs-on : ${{ matrix.os }}
46
+ env :
47
+ PYTHONIOENCODING : utf-8
46
48
steps :
47
49
- name : Get source code
48
50
uses : actions/checkout@v4
94
96
- " 3.13"
95
97
96
98
runs-on : ${{ matrix.os }}
99
+ env :
100
+ PYTHONIOENCODING : utf-8
97
101
steps :
98
102
- name : Get source code
99
103
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 15
15
import logging
16
16
import sys
17
17
from collections .abc import Iterable
18
- from os import getenv
18
+ from os import environ , getenv
19
19
from pathlib import Path
20
20
from sys import platform as opersys
21
21
from urllib .parse import urlsplit , urlunsplit
47
47
48
48
logger = logging .getLogger (__name__ )
49
49
50
+ if sys .platform == "win32" :
51
+ environ ["PYTHONIOENCODING" ] = "utf-8"
52
+
50
53
# #############################################################################
51
54
# ####### Functions ###############
52
55
# #################################
You can’t perform that action at this time.
0 commit comments