Commit a4e1a54
fix: add UTF-8 encoding for subprocess calls on Windows
On Windows, subprocess.Popen/run with text=True defaults to CP1252
encoding instead of UTF-8. This causes UnicodeDecodeError when
Claude outputs characters outside the CP1252 codepage.
Add explicit encoding="utf-8" and errors="replace" parameters to
all subprocess calls that use text=True.
Files modified:
- parallel_orchestrator.py (3 locations)
- start.py (2 locations)
- start_ui.py (1 location)
Closes #138
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b0490be commit a4e1a54
2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
| |||
403 | 405 | | |
404 | 406 | | |
405 | 407 | | |
406 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
407 | 411 | | |
408 | 412 | | |
409 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
0 commit comments