|
it could happen if something is overwriting. the file is read entirely to ram and then readed. the file size is taken in account when showing the text. i don't see garbage at the end are you sure your file doesn't have windows or mac style new lines?
|