fix(core): decode subprocess output as UTF-8 with replacement

Strict UTF-8 decode of external tool output (ffmpeg/shaka/mp4decrypt) crashed reader threads on non-English Windows (cp950/Big5).
This commit is contained in:
imSp4rky
2026-07-07 09:23:05 -06:00
parent 5cd50544a8
commit 1dba4a8f82
15 changed files with 72 additions and 13 deletions
+2
View File
@@ -247,6 +247,8 @@ class MonaLisa:
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
encoding="utf-8",
errors="replace",
startupinfo=startupinfo,
timeout=worker_timeout_s,
)