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

Ingo ingo.steiner at gmx.net
Thu Oct 2 20:38:28 UTC 2014


Package: gedit
Version: 3.12.2-2
Severity: normal
Tags: upstream

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. 


-- Package-specific info:
Active plugins:

No plugin installed in $HOME.

Module versions:
  pkg-config unavailable


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gedit depends on:
ii  gedit-common               3.12.2-2
ii  gir1.2-peas-1.0            1.12.1-1
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  gsettings-desktop-schemas  3.14.0-1
ii  iso-codes                  3.56-1
ii  libatk1.0-0                2.12.0-1
ii  libc6                      2.19-11
ii  libcairo-gobject2          1.12.16-5
ii  libcairo2                  1.12.16-5
ii  libenchant1c2a             1.6.0-10.1
ii  libgdk-pixbuf2.0-0         2.30.8-1+b1
ii  libgirepository-1.0-1      1.42.0-1
ii  libglib2.0-0               2.42.0-1
ii  libgtk-3-0                 3.12.2-3+b1
ii  libgtksourceview-3.0-1     3.12.3-1
ii  libpango-1.0-0             1.36.7-1
ii  libpangocairo-1.0-0        1.36.7-1
ii  libpeas-1.0-0              1.12.1-1
ii  libx11-6                   2:1.6.2-3
ii  libxml2                    2.9.1+dfsg1-4
ii  python3-gi                 3.14.0-1
ii  python3-gi-cairo           3.14.0-1
pn  python3:any                <none>

Versions of packages gedit recommends:
ii  yelp    3.12.0-1
ii  zenity  3.14.0-1

Versions of packages gedit suggests:
pn  gedit-plugins  <none>

-- no debconf information



More information about the pkg-gnome-maintainers mailing list