Bug#512497: gnome-terminal: Gnome terminal does not respect locale's character encoding

2009-01-21 Thread Josselin Mouette
forwarded 512497 http://bugzilla.gnome.org/show_bug.cgi?id=108711
thanks

Le mercredi 21 janvier 2009 à 13:53 +0100, Samuel Mimram a écrit :
> Ok. So now it works since I have set the locale in .dmrc. I used to set
> the locale in my .bashrc which explains the output of locale.
> 
> However, why is the menu claiming that the encoding is UTF-8 even when
> it is not?

This definitely looks like a bug. This is part of the more general
“encoding should be part of the profile” issue, so let’s keep track of
it.

Cheers,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#512497: gnome-terminal: Gnome terminal does not respect locale's character encoding

2009-01-21 Thread Samuel Mimram
Josselin Mouette wrote:
> Le mercredi 21 janvier 2009 à 10:51 +0100, Samuel Mimram a écrit :
>> It seems that gnome terminal does not comply with locale's character
>> encoding. My locale is:
>>
>> % locale
>> LC_ALL=en_US.UTF-8
> 
> How is this locale set? Is it /etc/default/locale, ~/.dmrc or set
> somewhere in your shell’s environment? If the last one, this is
> expected, since the gnome-terminal process will not obtain the setting
> in its environment.

Ok. So now it works since I have set the locale in .dmrc. I used to set
the locale in my .bashrc which explains the output of locale.

However, why is the menu claiming that the encoding is UTF-8 even when
it is not?

Cheers,

Samuel.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#512497: gnome-terminal: Gnome terminal does not respect locale's character encoding

2009-01-21 Thread Josselin Mouette
Le mercredi 21 janvier 2009 à 10:51 +0100, Samuel Mimram a écrit :
> It seems that gnome terminal does not comply with locale's character
> encoding. My locale is:
> 
> % locale
> LC_ALL=en_US.UTF-8

How is this locale set? Is it /etc/default/locale, ~/.dmrc or set
somewhere in your shell’s environment? If the last one, this is
expected, since the gnome-terminal process will not obtain the setting
in its environment.

Cheers,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#512497: gnome-terminal: Gnome terminal does not respect locale's character encoding

2009-01-21 Thread Samuel Mimram
Package: gnome-terminal
Version: 2.24.1.1-1
Severity: normal

Hi,

It seems that gnome terminal does not comply with locale's character
encoding. My locale is:

% locale
LANG=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

However, when I do ls on a dir containing utf-8 files I get:

% ls
éàù

(obviously this is some 8859-1 or alike encoding). In the menu
Terminal > Set Character Encoding, Unicode (UTF-8) is
selected, but it's not really active as you can see. If I click on
this menu, then I really get an utf-8 terminal:

% ls
éàù

It would be nice if I could avoid clicking to set manually the encoding
each time I spawn a new terminal... I'd be happy to provide any further
information. I think that the issue is quite new (a few weeks at most).

Cheers,

Samuel.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-terminal depends on:
ii  gnome-terminal-data2.24.3-1  Data files for the GNOME terminal 
ii  libatk1.0-01.24.0-1  The ATK accessibility toolkit
ii  libbonobo2-0   2.24.0-1  Bonobo CORBA interfaces library
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libgconf2-42.24.0-4  GNOME configuration database syste
ii  libglib2.0-0   2.18.2-1  The GLib library of C routines
ii  libgnome2-02.24.1-1  The GNOME 2 library - runtime file
ii  libgnomeui-0   2.24.0-1  The GNOME 2 libraries (User Interf
ii  libgtk2.0-02.14.5-1  The GTK+ graphical user interface 
ii  liborbit2  1:2.14.16-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0  1.22.2-1  Layout and rendering of internatio
ii  libstartup-notification0   0.9-1 library for program launch feedbac
ii  libvte91:0.17.4-1Terminal emulator widget for GTK+ 
ii  libx11-6   2:1.1.5-2 X11 client-side library
ii  scrollkeeper   0.3.14-16 A free electronic cataloging syste

Versions of packages gnome-terminal recommends:
ii  yelp 2.22.1-8+b1 Help browser for GNOME 2

gnome-terminal suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org