Comment 7 for bug 3923

Revision history for this message
Haz (haz2a) wrote :

A permanent config for the character set would be very useful. It has long been a feature of PuTTY (Terminal > Translation > Chr Set).
It would be best set in Profiles (similar to PuTTY's saved session) rather than globally, because its often required only for some specific purpose.

The only way I have been able to do this so far, as suggested in http://osdir.com/ml/gnome.os.redhat/2002-10/msg00022.html, is to first setup the required locale eg: via:
$ sudo locale-gen en_GB.ISO-8859-15
so that the new locale is listed by
$ locale -a
(as 'en_GB.iso885915').

Then I start GT like:-
$ env LC_CTYPE=en_GB.ISO-8859-15 gnome-terminal ... --disable-factory

But some of my Ubuntu's are resistant to enabling or using the new locale. Although it is listed by 'locale -a' as above, when I try to start GT as described above I get: "gnome-terminal: 7773: ... locale not supported by C library".
And yet I can select the same chr set from GT's Terminal > Set Chr Encoding menu!?
One of my GT's also shows its 'Current Locale' as 'ANSI_X3.4-1968' even though this is not listed by 'locale -a' at all!?

Any helpful comments about these problems would be much appreciated.