@Fabby LOL Only the Italians for having that saying ;)
@StephenKitt I still dealt with the Spectrum where the keyboard had not a smart controller giving scan codes, and the CPU had to poll the I/O ports corresponding to 8? half-rows ;) in each 50ms interrupt ;)
@StephenKitt I didn't say keyboards output ascii (at least I don't think I did). I said computers speak in binary and ascii is simply a standard used to convert binary to letters/symbols
It’s the OS’s job to translate key codes, typically into keyboard events nowadays, which can encode UTF-8 characters but also lots of other stuff — volume up/down, shift, ctrl, alt, etc.
Otherwise you wouldn’t be able to support different keymaps...
There’s an 8-bit limit in the X protocol somewhere, but keyboard controllers have been capable of using multi-byte sequences for a long, long time — the AT keyboard could (I don’t remember off-hand if the PC or XT keyboards could)
Does anyone know a way to nicely format an mbox file (basically corresponding to an email folder) such as produced by "traditional" MUAs like Pine/Alpine, Mutt etc., in PDF form?
@StephenKitt Thanks for the tip. I didn't consider attachments. or UTF-8, for that matter.
I guess one could skip attachments. It's not clear how those should be handled in general.
But really, so much text mail is malformed in different ways, that poses a sufficient challenge. E.g. HTML mail.
I was thinking that this is something that maybe a TeX variant could handle. Something with basic parsing abilities. LuaTeX, perhaps. But I don't see any evidence that something like that exists.