>I do recall ages ago having problems with a text file -- turned out there were stray NUL characters that caused some text editors to start truncating lines. Displaying file on screen or printer wouldn't reveal the problem as the NUL character was "invisible".
Exactly the reason hex viewers were invented.