LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   gnome-terminal and character encoding problem (http://www.linuxquestions.org/questions/linux-software-2/gnome-terminal-and-character-encoding-problem-424393/)

guillaume31 03-13-2006 10:09 AM

gnome-terminal and character encoding problem
 
Hi all,

I have a problem with gnome-terminal and character encoding: it doesn't show special french characters even if LANG is set to "en_US.iso-8859-15".

Note that these characters show up perfectly in regular xterms.

Running a new gnome-terminal (as well as other applications) provides some warnings:

Code:

macbeth:~> gnome-terminal
 (gnome-terminal:2170): Gdk-WARNING **: locale not supported  by Xlib
 (gnome-terminal:2170): Gdk-WARNING **: can not set locale  modifiers

or:

Code:

macbeth:~> xterm
Warning: locale not supported by Xlib, locale set to C

Code:

macbeth:~> xmms

Gdk-WARNING **: locale not supported by Xlib, locale set to C

Code:

macbeth:~> acroread

(acroread:2360): Gdk-WARNING **: locale not supported by Xlib

(acroread:2360): Gdk-WARNING **: can not set locale modifiers
m

A X application such xclock doesn't show these warnings...

My locale is:

Code:

macbeth:~> locale
LANG=en_US.iso-8859-15
LC_CTYPE="en_US.iso-8859-15"
LC_NUMERIC="en_US.iso-8859-15"
LC_TIME="en_US.iso-8859-15"
LC_COLLATE="en_US.iso-8859-15"
LC_MONETARY="en_US.iso-8859-15"
LC_MESSAGES="en_US.iso-8859-15"
LC_PAPER="en_US.iso-8859-15"
LC_NAME="en_US.iso-8859-15"
LC_ADDRESS="en_US.iso-8859-15"
LC_TELEPHONE="en_US.iso-8859-15"
LC_MEASUREMENT="en_US.iso-8859-15"
LC_IDENTIFICATION="en_US.iso-8859-15"
LC_ALL=

I tried to search the web on this problem, it appears that others have similar problem with gnome-terminal, but I didn't find a convincing solution.

Moreover, if I set by hand in Terminal menu of gnome-terminal, the Character encoding to "Western (iso-8859-15)" instead of default "Current locale (UTF-8)", it work fine, but I found no way to set this once for all. No way as well to remove this "Current locale".

Any idea would be welcome. I'm becoming crazy with this stuff!

Guillaume


All times are GMT -5. The time now is 04:36 AM.