Bug#261622: gedit: Saving files in UTF-16 is broken

Nathan Conrad Nathan Conrad <conrad+bugs@bungled.net>, 261622@bugs.debian.org
Tue, 27 Jul 2004 00:45:24 -0400


Package: gedit
Version: 2.6.1-1
Severity: normal

When saving a file in the UTF-16 encoding, only two characters are written
and nearly all of the file is lost. To reproduce:

Open gedit.
Type a few characters.
File->Save as....
Select UTF-16 as the encoding
Type filename and save.

The resulting file is two bytes long.

-Nathan

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages gedit depends on:
ii  gedit-common              2.6.1-1        light-weight text editor support f
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libaspell15               0.50.5-3       The GNU Aspell spell-checker runti
ii  libatk1.0-0               1.6.1-2        The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
ii  libbonobo2-0              2.6.2-5        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  libeel2-2                 2.6.2-1        Eazel Extensions Library (for GNOM
ii  libesd-alsa0 [libesd0]    0.2.29-1       Enlightened Sound Daemon (ALSA) - 
ii  libfontconfig1            2.2.3-1        generic font configuration library
ii  libfreetype6              2.1.7-2.1      FreeType 2 font engine, shared lib
ii  libgail-common            1.4.1-1        GNOME Accessibility Implementation
ii  libgail17                 1.4.1-1        GNOME Accessibility Implementation
ii  libgconf2-4               2.6.2-1        GNOME configuration database syste
ii  libgcrypt7                1.1.90-9       LGPL Crypto library - runtime libr
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.4-1        The GLib library of C routines
ii  libgnome-keyring0         0.2.1-2        GNOME keyring services library
ii  libgnome2-0               2.6.1-8        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeprint2.2-0        2.6.2-2        The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-0      2.6.2-1        The GNOME 2.2 print architecture U
ii  libgnomeui-0              2.6.1.1-3      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.1.1-5      The GNOME virtual file-system libr
ii  libgnutls10               1.0.4-4        GNU TLS library - runtime library
ii  libgpg-error0             0.7-3          library for common error values an
ii  libgtk2.0-0               2.4.4-1        The GTK+ graphical user interface 
ii  libgtksourceview1.0-0     1.0.1-2        Shared libraries for the GTK+ synt
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.0-4        Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libtasn1-2                0.2.7.0-2      Manage ASN.1 structures (runtime)
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxml2                   2.6.11-2       GNOME XML library
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  scrollkeeper              0.3.14-8       A free electronic cataloging syste
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-5    compression library - runtime

-- no debconf information