Gentoo Archives: gentoo-user

From: Miernik <public@××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Warning: locale not supported by Xlib, locale set to C
Date: Sat, 19 Jul 2008 18:34:32
Message-Id: 20080719183723.2115.0.NOFFLE@turbacz.local
1 I installed Gentoo recently, and have the following problem: In xterm I
2 cannot see non-ASCII chars, when I 'cat' a file with UTF-8 characters,
3 garbage comes out. In other applications (gnumeric, firefox), UTF-8
4 functions correctly. How to fix it?
5
6 When I start another XTerm from one XTerm, I see this message in the old
7 XTerm:
8
9 Warning: locale not supported by Xlib, locale set to C
10
11 Some diags:
12
13 miernik@przehyba ~ $ locale
14 LANG=en_DK.UTF-8
15 LC_CTYPE="en_DK.UTF-8"
16 LC_NUMERIC="en_DK.UTF-8"
17 LC_TIME="en_DK.UTF-8"
18 LC_COLLATE="en_DK.UTF-8"
19 LC_MONETARY="en_DK.UTF-8"
20 LC_MESSAGES="en_DK.UTF-8"
21 LC_PAPER="en_DK.UTF-8"
22 LC_NAME="en_DK.UTF-8"
23 LC_ADDRESS="en_DK.UTF-8"
24 LC_TELEPHONE="en_DK.UTF-8"
25 LC_MEASUREMENT="en_DK.UTF-8"
26 LC_IDENTIFICATION="en_DK.UTF-8"
27 LC_ALL=
28 miernik@przehyba ~ $ locale -a
29 C
30 en_DK.utf8
31 POSIX
32 miernik@przehyba ~ $ cat /etc/env.d/02locale
33 LANG="en_DK.UTF-8"
34 miernik@przehyba ~ $ cat /etc/locale.gen | grep -v "^#"
35 en_DK.UTF-8 UTF-8
36 miernik@przehyba ~ $
37
38
39 I re-emerged xterm, x11-libs/libX11, glibc, but didn't help.
40
41 Any ideas?
42
43 --
44 Miernik
45 http://miernik.name/
46
47 --
48 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Warning: locale not supported by Xlib, locale set to C Dirk Heinrichs <dirk.heinrichs@××××××.de>