On Sun, May 29 2011, Nils Larsson wrote:

> måndagen den 30 maj 2011 03:26:49 skrev  Allan Gottlieb:
>> What must I do to get "en_US_utf8" ?
>
> echo "LANG=en_US_utf8" > /etc/env.d/02locale
> and
> env-update
> should work.

Thanks.  It just needed
source /etc/profile

at the end.  The variables are now correct but there are still problems.

1.  locale complains

    oldlap ~ # locale
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    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=
    oldlap ~ # 

2.  ca-certificates complains during emerge

2A.
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset),
            LANG = "en_US_utf8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    >>> cfg-update-1.8.2-r1: Creating checksum index...

that was expected from above

2B.
   * This package installs one or more file names containing characters that
   * do not match your current locale settings. The current setting for
   * filesystem encoding is 'ANSI_X3.4-1968'.
   * 
   *    
usr/share/ca-certificates/mozilla/AC_Ra\ufffd\ufffdz_Certic\ufffd\ufffdmara_S.A..crt

plus other certificates.  Perhaps fixing 2A would fix this as well??

2C.  The following has unreadable characters
    Updating certificates in /etc/ssl/certs... W: 
/usr/share/ca-certificates/mozilla/AC_Ra��z_Certic��mara_S.A..crt not found, 
but listed in /etc/ca-certificates.conf.
    W: 
/usr/share/ca-certificates/mozilla/EBG_Elektronik_Sertifika_Hizmet_Sa��lay��c��s��.crt
 not found, but listed in /etc/ca-certificates.conf.
    W: 
/usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_F��tan��s��tv��ny.crt
 not found, but listed in /etc/ca-certificates.conf.
    W: 
/usr/share/ca-certificates/mozilla/T��B��TAK_UEKAE_K��k_Sertifika_Hizmet_Sa��lay��c��s��_-_S��r��m_3.crt
 not found, but listed in /etc/ca-certificates.conf.
    0 added, 0 removed; done.

thanks again,
allan

Reply via email to