From 061db28096497d12044ce5362ee6807b3c0b886d Mon Sep 17 00:00:00 2001 From: sandcage-export Date: Fri, 22 May 2026 02:05:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=87=20export=20from=20upstream=20(1865?= =?UTF-8?q?b00)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/export.py b/scripts/export.py index e351b91..0a9664a 100644 --- a/scripts/export.py +++ b/scripts/export.py @@ -72,7 +72,7 @@ def remove_excluded_paths(target: Path, exclude: list[str]) -> None: def _run(cmd: list[str], cwd: Path, check: bool = True) -> subprocess.CompletedProcess: - result = subprocess.run(cmd, cwd=cwd, check=False, text=True, capture_output=True) + result = subprocess.run(cmd, cwd=cwd, check=False, capture_output=True, encoding="utf-8", errors="replace") if check and result.returncode != 0: detail = (result.stderr or result.stdout or "").strip() if detail: