1 person reported

All time, since Sep 21.

Garbled UTF-8 in bun-to-bun pipes

“The code page belongs to the console and is shared by every process attached to it, so two Bun processes in one console overwrite each other's saved value.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/4408/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Garbled UTF-8 output when piping bun into bun on Windows. Only when the console code page is not already 65001; Bun sets and restores the shared console code page at startup and exit.

Is this your bug?

File my report
Where
Windows console
Versions
1.4.2
Platforms
Windows
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Pending reads exit process early1 person
  2. WriteStream ignores overridden _write1 person

Original reports2, newest first

  1. Windows: Bun switches the console code page to 65001 at startup, which garbles output and breaks other processes in the same console (root cause of #43660)#44693
  2. Windows: garbled UTF-8 output when piping bun -> bun, but only if the console codepage isn't already UTF-8 (65001)#43660

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.