public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Warning: locale not supported by Xlib, locale set to C
@ 2008-07-19 18:37 Miernik
  2008-07-19 20:59 ` Dirk Heinrichs
  0 siblings, 1 reply; 7+ messages in thread
From: Miernik @ 2008-07-19 18:37 UTC (permalink / raw
  To: gentoo-user

I installed Gentoo recently, and have the following problem: In xterm I
cannot see non-ASCII chars, when I 'cat' a file with UTF-8 characters,
garbage comes out. In other applications (gnumeric, firefox), UTF-8
functions correctly. How to fix it?

When I start another XTerm from one XTerm, I see this message in the old
XTerm:

Warning: locale not supported by Xlib, locale set to C

Some diags:

miernik@przehyba ~ $ locale
LANG=en_DK.UTF-8
LC_CTYPE="en_DK.UTF-8"
LC_NUMERIC="en_DK.UTF-8"
LC_TIME="en_DK.UTF-8"
LC_COLLATE="en_DK.UTF-8"
LC_MONETARY="en_DK.UTF-8"
LC_MESSAGES="en_DK.UTF-8"
LC_PAPER="en_DK.UTF-8"
LC_NAME="en_DK.UTF-8"
LC_ADDRESS="en_DK.UTF-8"
LC_TELEPHONE="en_DK.UTF-8"
LC_MEASUREMENT="en_DK.UTF-8"
LC_IDENTIFICATION="en_DK.UTF-8"
LC_ALL=
miernik@przehyba ~ $ locale -a
C
en_DK.utf8
POSIX
miernik@przehyba ~ $ cat /etc/env.d/02locale
LANG="en_DK.UTF-8"
miernik@przehyba ~ $ cat /etc/locale.gen | grep -v "^#"
en_DK.UTF-8 UTF-8
miernik@przehyba ~ $


I re-emerged xterm, x11-libs/libX11, glibc, but didn't help.

Any ideas?

-- 
Miernik
http://miernik.name/

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-07-21 10:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19 18:37 [gentoo-user] Warning: locale not supported by Xlib, locale set to C Miernik
2008-07-19 20:59 ` Dirk Heinrichs
2008-07-20  9:15   ` [gentoo-user] " Miernik
2008-07-20 14:43     ` Dirk Heinrichs
2008-07-21  6:02       ` Miernik
2008-07-21  8:11         ` Jan Seeger
2008-07-21 10:46           ` Miernik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox