Commit 5c6e875
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 79d02a1 commit 5c6e875
3 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| 514 | + | |
514 | 515 | | |
515 | 516 | | |
516 | 517 | | |
517 | 518 | | |
518 | 519 | | |
| 520 | + | |
| 521 | + | |
519 | 522 | | |
520 | 523 | | |
521 | 524 | | |
| |||
600 | 603 | | |
601 | 604 | | |
602 | 605 | | |
| 606 | + | |
603 | 607 | | |
604 | 608 | | |
605 | 609 | | |
606 | 610 | | |
607 | 611 | | |
| 612 | + | |
| 613 | + | |
608 | 614 | | |
609 | 615 | | |
610 | 616 | | |
| |||
658 | 664 | | |
659 | 665 | | |
660 | 666 | | |
| 667 | + | |
661 | 668 | | |
662 | 669 | | |
663 | 670 | | |
664 | 671 | | |
665 | 672 | | |
| 673 | + | |
| 674 | + | |
666 | 675 | | |
667 | 676 | | |
668 | 677 | | |
| |||
| 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 | | |
| |||
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
403 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
404 | 408 | | |
405 | 409 | | |
406 | 410 | | |
| |||
| 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