Bug#364486: gnome-terminal doesn't handle utf-8 anymore

Vincent Ho loki at internode.on.net
Tue May 30 11:40:27 UTC 2006


Bas Zoetekouw wrote:

> So, it seems that, rather then looking at the charset of the current
> session inside the terminal, gnome-terminal uses some other way to
> determine the charset to use.  I'm not sure if it's relevant here, but
> I don't set a locale in /etc/environment, only in ~/.zshrc.

Aha :) Sounds like the original problem was caused by the breakage in
libc6 2.3.6-5, which removed locale settings from /etc/environment and
put them in /etc/default/locale.  gdm didn't know about that file,
leaving a user in the C locale.

Later versions of libc6 (2.3.6-6 through -8) just copy settings from
/etc/environment rather than moving them, and eventually gdm 2.14.4-1
started reading /etc/default/locale.

I don't feel g-t's behavior is wrong.  Having it interrogate the program
it runs seems hacky, given that the encoding might change at an unknown
time in the shell's initialistion, or anytime later.


  Vince


-- 
    Vincent Ho
loki /at/ internode.on.net

"If we hit that bullseye, the rest of the dominos will fall like a house
of cards. Checkmate."






More information about the Pkg-gnome-maintainers mailing list