public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /etc/locale vs /etc/env.d/02locale?
@ 2011-06-16 15:45 Mark Knecht
  2011-06-16 16:22 ` [gentoo-user] " Nikos Chantziaras
       [not found] ` <BANLkTikP=J_NeFs-LhYb3RPANhDr74+icg@mail.gmail.com>
  0 siblings, 2 replies; 13+ messages in thread
From: Mark Knecht @ 2011-06-16 15:45 UTC (permalink / raw
  To: Gentoo User

Is there a simple explanation concerning the difference between the
two locales I have seen on Gentoo machines?

1) /etc/locale, as specified in the installation documents

2) /etc/env.d/02locale as has been discussed on the list recently

I'm helping a Windows friend bring up his first Gentoo box. With the
locale set in /etc/locale as per the install docs the locale command
returns: (from the chroot)

(chroot) livecd linux # cat /etc/locale.gen
<SNIP>
en_US ISO-8859-1
en_US.UTF-8 UTF-8
(chroot) livecd linux # locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
(chroot) livecd linux #


However on my machines it did the same thing until I set 02locale and
now it returns:

mark@c2stable ~ $ locale
LANG=en_US.UTF8
LC_CTYPE="en_US.UTF8"
LC_NUMERIC="en_US.UTF8"
LC_TIME="en_US.UTF8"
LC_COLLATE="en_US.UTF8"
LC_MONETARY="en_US.UTF8"
LC_MESSAGES="en_US.UTF8"
LC_PAPER="en_US.UTF8"
LC_NAME="en_US.UTF8"
LC_ADDRESS="en_US.UTF8"
LC_TELEPHONE="en_US.UTF8"
LC_MEASUREMENT="en_US.UTF8"
LC_IDENTIFICATION="en_US.UTF8"
LC_ALL=
mark@c2stable ~ $

It seems to me the latter is preferable but the install docs don't
talk about it at all.

Thanks,
Mark



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-19 22:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 15:45 [gentoo-user] /etc/locale vs /etc/env.d/02locale? Mark Knecht
2011-06-16 16:22 ` [gentoo-user] " Nikos Chantziaras
2011-06-16 16:45   ` Mark Knecht
2011-06-16 16:54     ` Nikos Chantziaras
     [not found] ` <BANLkTikP=J_NeFs-LhYb3RPANhDr74+icg@mail.gmail.com>
2011-06-16 16:23   ` [gentoo-user] " Mark Knecht
2011-06-16 16:47     ` [gentoo-user] " Nikos Chantziaras
2011-06-16 16:56     ` [gentoo-user] " YoYo Siska
     [not found]     ` <BANLkTimqq_f+69OMmDeZGwvBvX349xUCtg@mail.gmail.com>
2011-06-18  0:50       ` [gentoo-user] " walt
2011-06-18  1:35         ` Nikos Chantziaras
2011-06-18  1:46         ` Peter Humphrey
2011-06-18 21:03           ` walt
2011-06-19 20:46           ` Walter Dnes
2011-06-19 21:47             ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox