LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-13-2006, 10:09 AM   #1
guillaume31
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome-terminal wrong character encoding guillaume31 Linux - General 2 02-01-2006 10:04 AM
vi encoding/terminal problem ricky_ds Linux - Software 0 03-30-2005 09:20 AM
KDE konsole - Gnome-terminal language encoding or keytab thk33 Linux - Software 3 09-19-2004 04:59 PM
character encoding - mandrake 9.2 Osten Mandriva 1 11-21-2003 12:09 PM
Unsupported Character Encoding yenonn Linux - Software 3 04-28-2003 06:25 AM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration