New answers tagged


This is apparently by design. Internally, each line of the file is stored as a NUL-terminated string. The actual linefeeds from a file are not stored at all; they simply delimit the strings when a buffer is read from or written to a file. LF-valued bytes only show up in buffer memory to represent NULs, since there's no way to put a literal zero byte inside a ...

Top 50 recent answers are included