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
Fri Dec 6 16:10:03 UTC 2013
On 2013-12-06 13:42:08 +0000, Simon McVittie wrote:
> On 06/12/13 10:24, Vincent Lefevre wrote:
> > On 2013-12-05 15:31:30 +0100, Vincent Lefevre wrote:
> >> Current Locale (ANSIX3.4-1968)
> >
> > This problem doesn't occur when I run gnome-terminal on a different
> > machine via ssh: I get "Current Locale (UTF-8)" as expected.
>
> I wonder whether your first machine has some leftover configuration from
> an old machine, or something...
No, I get the same behavior on both machines. What matters is whether
I start gnome-terminal locally or via ssh. And starting gnome-terminal
after a "ssh localhost" doesn't work at all (bug 731456).
> my only options are "Unicode (UTF-8)" and "Current Locale (UTF-8)",
This is what I have via ssh.
So, the question is: how does gnome-terminal determine the
"current locale"?
Certainly not via the LC_* environment variables, as they are
the same with and without ssh. And I think that the fact that
gnome-terminal doesn't use them is a bug.
And "LC_ALL=C gnome-terminal" in a ssh session doesn't change
anything: gnome-terminal still selects UTF-8.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the pkg-gnome-maintainers
mailing list