public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Miernik <public@public.miernik.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Warning: locale not supported by Xlib, locale set to C
Date: Sat, 19 Jul 2008 20:37:23 +0200	[thread overview]
Message-ID: <20080719183723.2115.0.NOFFLE@turbacz.local> (raw)

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



             reply	other threads:[~2008-07-19 18:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19 18:37 Miernik [this message]
2008-07-19 20:59 ` [gentoo-user] Warning: locale not supported by Xlib, locale set to C 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080719183723.2115.0.NOFFLE@turbacz.local \
    --to=public@public.miernik.name \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox