On Sep 18, 2017, at 4:03 PM, Adam Roach <adam@xxxxxxxxxxx> wrote:
Also, consider what it takes to make catting a UTF-8 file work in a terminal program. ISTM that the only way for it to not spew garbage characters is for the terminal program to understand UTF-8 without requiring a BOM. I suppose you could make the terminal program elide the BOM wherever it's encountered in the output stream (on a character boundary), but this isn't how BOMs are supposed to work. |