You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runner decodes each output chunk on its own with data.toString() (src/lib/runner/runner.ts#L92). When a multi-byte UTF-8 character falls across two chunks, each half decodes to U+FFFD and the captured output shows ��. This hits large outputs (chunks split at pipe-buffer boundaries) that hold non-ASCII text, such as accented file paths or localized error messages in a failure log.
Not fixed by #283 or its PR #291, which still decodes each chunk separately.
Reproduced on Node with the same per-chunk pattern (code sample): it prints "��" instead of "é".
Expected: collect the Buffers and decode them once (Buffer.concat(chunks).toString()), or call setEncoding("utf8") on the streams so Node's StringDecoder keeps split characters whole.
Activity