Re: Default character encoding in Gnome Terminal



Quoth Olav Vitters <olav@xxxxxxxxxxxx>:
It must be set in the environment read by gnome-terminal. Appears your
locale is set too late.

Try for instance:
1. killall gnome-terminal (do not run this on Solaris ;)
2. start an xterm
3. start gnome-terminal

now see what encoding gnome-terminal selected...

Change your config so that the locale is correctly set from gdm.

Thanks. You gave me the nudge I needed.

The simplest workaround is of course to edit the launcher command to
read:

env LANG="<locale>" gnome-terminal ...

I've had gdm configured to automatically log me in for so long now I'd
forgotten that you can set the language for each session at the login
screen (and nowhere else!) and if the langauge setting has changed,
you are then asked if you would like to make this language the
default language setting for subsequent sessions.

In the end that was all that was causing the problem.

I'd love to know where this information is stored. It's not kept in
any of the obvious places. Believe me, I've looked.

sdt

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



Relevant Pages

  • Re: Unable to display korean fonts
    ... In my Japanese build when i set the default language as "Japanese" ... the language of the entire OS was changed to Japan.But we want the Japanese ... Locale only for our appln.Similarly here we want the korean locale for our ... "Henrik Viklund" wrote: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: loadstring fails in MBCS encoding
    ... Did you try to force the locale (language) with setlocale? ... > can't load MBCS resources correctly any more. ...
    (microsoft.public.vc.mfc)
  • Re: i18ned Character Set in DBMS and tables
    ... he is forced to lie about his locale in order to get the desired language. ... the browser language set to English. ... >> Here I am, posting in English, and living in the Swiss German locale. ...
    (comp.lang.java.programmer)
  • Re: Word/Windows Language
    ... (not the Dictionary language): English or French. ... ' Win32 Locale functions ... Public Function LocaleLangauge(Optional LCID As Long) As String ... Dim buf As String ...
    (microsoft.public.office.developer.vba)
  • Re: local problem in developing GUI
    ... Does that mean I don't have to care about the language problems in the ... >> met some problems when developing GUI software for English Linux OS. ... On top of this gettext is commonly-used to translate program ... >output into the language specifed by the locale. ...
    (comp.os.linux.development.apps)