From: smallnow <smallnow@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] locale issue to clean up
Date: Sun, 07 Dec 2008 17:14:22 -0800 [thread overview]
Message-ID: <493C74EE.7050109@gmail.com> (raw)
In-Reply-To: <5bdc1c8b0812071642x1776c539j320fa179707f5e67@mail.gmail.com>
Mike Edenfield wrote:
> You should have a directory in /usr/share/locale for every locale you
> want available on your system. The source files for the locales should
> be in /usr/share/i18n/locales and /usr/share/i18n/charsets. That is,
> you should have all of the following:
>
> /usr/share/i18n/locales/en_US
> /usr/share/i18n/charsets/ISO8859-1
> /usr/share/i18n/charsets/UTF-8
> /usr/share/locale/en_US.ISO8859-1
> /usr/share/locale/en_US.UTF-8
Um, on my system, i have
/usr/share/i18n/charmaps/UTF-8.gz
/usr/share/i18n/charmaps/IS8859-1.gz
notice charmaps vs charsets
the other folders all have en_US files and folders, no utf8 extensions. And my
locale stuff seems to work fine. Do you actually have those files on your
computer or did you just type them from memory and get them wrong?
I do locale -a and get:
C
POSIX
en_US
en_US.iso88591
en_US.utf8
also, I do locale-gen and it succeeds and I don't get any of the files you
mentioned.
Heres my suggestion to the original poster. I would heed the warning in the
gentoo guide not to set LC_ALL. I also have a lot of other files under those
directories and I would just leave them alone, but if you want to delete them,
just move them so you can move them back later if it doesn't help. I think one
of your problems might be that you need to set all your locale variables in
02locale. Then do "eselect env update" and relogin. Also you should have 644
permissions on these files.
cat /etc/env.d/02locale
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="POSIX"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
cat /etc/locale.gen
en_US ISO-8859-1
en_US.utf8 UTF-8
next prev parent reply other threads:[~2008-12-08 1:14 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 21:35 [gentoo-user] locale issue to clean up Mark Knecht
2008-12-07 21:55 ` 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 [this message]
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=493C74EE.7050109@gmail.com \
--to=smallnow@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