Hacker News new | ask | show | jobs
by 1996 2293 days ago
\r \n (0x0a 0x0d, or just one of them, or the combination of them, depending on your OS) is EOL

^D (0x04) is EOT and 0x03 is EOText: https://www.systutorials.com/ascii-table-and-ascii-code/

So, kinda, but somehow I'm happy it never got turned into a weird combinations depending on the OS.

1 comments

Those are just conventions, and they aren't consistent from one OS to another at all. ASCII tried to standardize it but failed.
That should have been my point - I'm happy there aren't 3 standards to specify what EOFile is.