Skip to content

Commit 376525e

Browse files
committed
run_before_script: Use UTF-8 decoding instead of system's locale
1 parent 53a253b commit 376525e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tmuxp/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def run_before_script(
3737
cwd=cwd,
3838
text=True,
3939
errors="backslashreplace",
40+
encoding="utf-8",
4041
)
4142
if proc.stdout is not None:
4243
for line in iter(proc.stdout.readline, ""):

0 commit comments

Comments
 (0)