On Thursday 17 July 2014 16:41:45 Dale wrote:

> This is my locale.gen file:
> 
> 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"

Dale, why are you setting all those values yourself? As far as I know, the 
only one you need to set is the first one: LANG. The rest of them should all 
be taken care of by portage - unless you have very particular (i.e. special) 
requirements. I don't have any of those values set anywhere; look:

$ grep -r LC_ /etc
/etc/init.d/hwclock:            if LC_ALL=C hwclock --help 2>&1 | grep -q 
"\-\-noadjfile"; then
/etc/portage/savedconfig/sys-apps/busybox-1.21.0:# CONFIG_FEATURE_IPCALC_FANCY 
is not set
/etc/portage/savedconfig/sys-apps/busybox-1.21.0:# 
CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
/etc/ssh/ssh_config:SendEnv LANG LC_*

This is my /etc/locale.gen:

en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
en_GB.ISO-8859-15 ISO-8859-15

I don't remember why I still have those last two entries; I expect they date 
from before Gentoo adopted UTF-8. Maybe I'll remove them and see what happens.

It's an easy trap to fall into: over-specifying details just because Gentoo 
lets you do so, in contrast to other distros.

KISS  :)

-- 
Regards
Peter


Reply via email to