3 ms·
> Turns out I needed a code 437 emulator! [1] So that… just converts from cp437 (output by the subprocess) to whatever the "system encoding" (assumed to be the
by masklinn 8y ago
> Turns out I needed a code 437 emulator! [1]
So that… just converts from cp437 (output by the subprocess) to whatever the "system encoding" (assumed to be the terminal's) is?
I'm surprised iconv or the like doesn't handle that natively. Or is the issue that you still need to interact with the subprocess and iconv(1) only does piping/non-interactive conversions?