Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: use UTF-8 for converter diagnostic fixtures (#6282)

[._.]/ Adam Eivy75b5d4f55118
diff --git a/scripts/generate_fastvideo.test.js b/scripts/generate_fastvideo.test.js
index a8be2ba89b..f75914566a 100644
--- a/scripts/generate_fastvideo.test.js
+++ b/scripts/generate_fastvideo.test.js
@@ -7,7 +7,9 @@ import { createVideoDiagnosticTail } from '../server/lib/videoFailure.js';
const script = join(dirname(fileURLToPath(import.meta.url)), 'generate_fastvideo.py');
const pyBin = resolveTestPython();
-const runPython = (source) => execFileSync(pyBin, ['-c', source, script], { encoding: 'utf8' });
+const runPython = (source) => execFileSync(pyBin, ['-c', source, script], {
+ encoding: 'utf8', env: { ...process.env, PYTHONIOENCODING: 'utf-8' },
+});
const lines = (output) => output.trim().split('\n').map((line) => line.trimEnd());
const importRunner = [