I'll try to test later today with a more robust computer, but what is the detected encoding? The contents looks oddly correct line-wise, and only line contents seem plain wrong; which could indicate some odd character incorrect character conversion where only a few (including newline) character were correct. Or it might indeed be a Scintilla glitch of some kind.