[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Terminal issues in fresh install

On 2008-01-01 20:57 +0100, Daniel Burrows wrote:

>   Note that just changing the environment variable inside the terminal
> won't help -- it's the terminal that needs to interpret those sequences,
> so you have to run *the terminal itself* in the new locale.

Some terminals also allow to change the encoding at runtime, e.g. KDE
konsole or putty.

>  I just
> ended up setting my locale in ~/.xsession to make it stick:
> export LC_ALL=en_US.UTF-8
> export LC_CTYPE=en_US.UTF-8
> export LANG=en_US.UTF-8

The last two lines here are actually redundant.

>   IIRC there was a situation a few years ago where you had to install a
> Unicode-enabled xterm, pass "-u", or both.  Sarge dates to 2005; I'm sure
> that there were X terminals in 2005 that could handle UTF-8, but I don't
> know if the default xterm did.

It did; the uxterm wrapper that always starts an xterm in UTF-8 mode was
already present then, according to http://packages.debian.org/sarge/xterm.


Reply to: