32 ms·
What programming languages try to guess line endings? Or are even aware of them?
by skywhopper 4mo ago
What programming languages try to guess line endings? Or are even aware of them?
- flohofwoe 4mo agoOk, technically not the programming languages, but their stdlibs. On MSVC at least, opening a file in text mode via fopen will translate CRLF into LF on read, and LF into CRLF on write, which has been a neverending source of confusion since at least the 1990s.