Hacker News new | ask | show | jobs
by layer8 1349 days ago
Given that a BOM is three bytes, I don’t really agree that it’s the shortest. How about replacing a CRLF by LF? That one is invisible in many contexts as well.
1 comments

…or removing a trailing LF at the end of a file where the last line is non-empty.