Bug#731443: gnome-terminal forces default character encoding to ANSIX3.4-1968 (ASCII) but doesn't set up LC_CTYPE

Vincent Lefevre vincent at vinc17.net
Thu Dec 5 14:31:30 UTC 2013


Package: gnome-terminal
Version: 3.10.1-1
Severity: important

GNOME Terminal's character encoding handling is broken.

For a terminal, there are 2 possibilities:

1. The terminal gets the character encoding from the current locale.

2. The terminal forces the character encoding to some settings, but
needs to change LC_CTYPE accordingly (or let the user do this).

GNOME Terminal does neither. I have UTF-8 locales, but GNOME Terminal
sets the character encoding to ANSIX3.4-1968[*] (ASCII) and lets
LC_CTYPE unchanged (en_US.UTF-8 in my case), yielding garbage with
some applications (e.g. Mutt).

[*] The Terminal → Set Character Encoding menu has the following
selected by default:

  Current Locale (ANSIX3.4-1968)

I don't know what "Current Locale" means since this is obviously
wrong.

The manual says "The default character encoding is usually UTF-8."
but this is not what happens here.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages gnome-terminal depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.18.0-1
ii  gconf-service                                3.2.6-1
ii  gnome-terminal-data                          3.10.1-1
ii  gsettings-desktop-schemas                    3.8.2-2
ii  libatk1.0-0                                  2.10.0-2
ii  libc6                                        2.17-97
ii  libdconf1                                    0.18.0-1
ii  libgconf-2-4                                 3.2.6-1
ii  libglib2.0-0                                 2.36.4-1
ii  libgtk-3-0                                   3.8.6-1
ii  libpango-1.0-0                               1.36.0-1
ii  libuuid1                                     2.20.1-5.5
ii  libvte-2.90-9                                1:0.34.9-1
ii  libx11-6                                     2:1.6.2-1

Versions of packages gnome-terminal recommends:
ii  dbus-x11  1.6.18-2
ii  gvfs      1.16.3-1+b2
ii  yelp      3.10.1-1

gnome-terminal suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list