From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KKHGK-00046J-EE for garchives@archives.gentoo.org; Sat, 19 Jul 2008 18:34:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E383E0357; Sat, 19 Jul 2008 18:34:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A3C3E0357 for ; Sat, 19 Jul 2008 18:34:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 99BC866558 for ; Sat, 19 Jul 2008 18:34:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.599 X-Spam-Level: X-Spam-Status: No, score=-3.599 required=5.5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Cw25DrOv0ek for ; Sat, 19 Jul 2008 18:34:24 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 90E9C65A8C for ; Sat, 19 Jul 2008 18:34:24 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KKHGA-0001Bg-UL for gentoo-user@gentoo.org; Sat, 19 Jul 2008 18:34:22 +0000 Received: from apn-77-112-123-233.gprs.plus.pl ([77.112.123.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jul 2008 18:34:22 +0000 Received: from public by apn-77-112-123-233.gprs.plus.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jul 2008 18:34:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Miernik Subject: [gentoo-user] Warning: locale not supported by Xlib, locale set to C Date: Sat, 19 Jul 2008 20:37:23 +0200 Message-ID: <20080719183723.2115.0.NOFFLE@turbacz.local> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: apn-77-112-123-233.gprs.plus.pl X-Archive: encrypt=none User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.25-2-686 (i686)) Sender: news Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: cb6aefad-83c5-4362-b86f-33055d1082ea X-Archives-Hash: 52f157783cd52b7090e9d10e83ef68be 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