public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] locale issue to clean up
Date: Sun, 7 Dec 2008 13:35:09 -0800	[thread overview]
Message-ID: <5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com> (raw)

My Gentoo desktop has had a locale problem for longer than I can
remember. I haven't been able to solve it on my own, but it didn't
seem too important. More a frustration. I switched my profile to the
2008.0 desktop a few days ago. Everything seems to be working but I'm
getting more of these locale-ish messages now so I'd like to figure
out what I've done wrong.

Here's one typical message I might see when running emerge --depclean:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = "en_US",
	LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

The line about falling back to the standard locale "C" is pretty
standard. I also see this in k3b every time I start the program. As I
do a lot of audio work I'd really like to make sure the CDs I burn on
this machine will be acceptable to folks/friends/customers. Here's
what I see in k3b:

<SNIP>
System locale charset is ANSI_X3.4-1968
Your system's locale charset (i.e. the charset used to encode
filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this
has been done intentionally. Most likely the locale is not set at all.
An invalid setting will result in problems when creating data
projects.
Solution: To properly set the locale charset make sure the LC_*
environment variables are set. Normally the distribution setup tools
take care of this.
<SNIP>

   I don't have a clue what's wrong and the Gentoo pages about locale
setup seem to make some assumptions about my understanding of what
this does and how it does it that I'm not living up to so I really
don't know what to provide. I'll start with this and we'll see how it
goes. It seems that possibly I'm supposed to hand edit
/etc/env.d/02locale but in my longish history of running Gentoo (as a
user type) I don't believe I've ever had to edit that so I'm thinking
I must have messed up some other config file somewhere?

Thanks in advance,
Mark

lightning ~ # cat /etc/locale.gen
en_US ISO-8859-1
en_US.UTF-8 UTF-8
lightning ~ #

lightning ~ # locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
lightning ~ #

lightning ~ # cat /etc/env.d/02locale
LANG=en_US
lightning ~ #



             reply	other threads:[~2008-12-07 21:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-07 21:35 Mark Knecht [this message]
2008-12-07 21:55 ` [gentoo-user] locale issue to clean up Dale
2008-12-07 22:10   ` Mark Knecht
2008-12-07 23:29     ` Dale
2008-12-07 23:45       ` Mark Knecht
2008-12-08  0:06         ` Dale
2008-12-08  0:12       ` Mike Edenfield
2008-12-08  0:04     ` Mike Edenfield
2008-12-07 23:17   ` Mark Knecht
2008-12-08  0:10     ` Mike Edenfield
2008-12-08  0:42       ` Mark Knecht
2008-12-08  1:14         ` smallnow
2008-12-08  3:10           ` Mark Knecht
2008-12-08  5:32             ` Mark Knecht
2008-12-08 16:32               ` Mark Knecht
2008-12-08 17:03             ` Mike Edenfield
2008-12-08 16:01           ` Mike Edenfield
2008-12-08  1:19         ` Willie Wong
2008-12-08  2:58           ` Mark Knecht
2008-12-08 17:24             ` Mick
2008-12-08 18:50               ` Mark Knecht
2008-12-08 19:02               ` Dale
2008-12-08 19:10               ` Mike Edenfield
2008-12-09 18:33                 ` Mark Knecht
2008-12-08 16:58         ` Mike Edenfield

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=5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com \
    --to=markknecht@gmail.com \
    --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