#763811 gedit: Unable to open/handle plain text files containing a "zero byte"

Package:
gedit
Source:
gedit
Description:
popular text editor for the GNOME desktop environment
Submitter:
Ingo
Date:
2014-10-02 20:57:13 UTC
Severity:
normal
#763811#5
Date:
2014-10-02 20:38:28 UTC
From:
To:
Dear Maintainer,

when trying to open (even to just read) a plain text file containing a
"zero byte" gedit is unable to display it correctly and does not allow to
edit and save it. "zero bytes" are not forbidden in plain text files and
are are used i.e. in programming languages.

This file which I do attach later is a logfile (only first 4 lines) as
generated and downloaded from my (commercial) router for internet access.
If the file gets bigger, gedit even displays rabbish. Commandline tools like
'cat' and also 'nano' handle this file correctly.

#763811#10
Date:
2014-10-02 20:56:09 UTC
From:
To: