[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#226633: libc6: selecting en_CA in dpkg-reconfigure locales does not enable en_CA locale support.



Package: libc6
Version: 2.2.5-11.5
Severity: normal

Please be patient; this is my first run-in with reportbug.

As root, I selected en_CA in "dpkg-reconfigure locales".  As user, I
added:

LC_ALL="en_CA.ISO-8859-1"
LANG="en_CA.ISO-8859-1"
LANGUAGE="en_CA.ISO-8859-1"

to my ~/.bash_profile, logged out then back in.  The environment
variables were there.  On running a perl program, I learned they weren't
really there:

  ---------------------------------------------------
(0) keeling /home/keeling_ locale
LANG=en_CA.ISO-8859-1
LC_CTYPE="en_CA.ISO-8859-1"
LC_NUMERIC="en_CA.ISO-8859-1"
LC_TIME="en_CA.ISO-8859-1"
LC_COLLATE="en_CA.ISO-8859-1"
LC_MONETARY="en_CA.ISO-8859-1"
LC_MESSAGES="en_CA.ISO-8859-1"
LC_PAPER="en_CA.ISO-8859-1"
LC_NAME="en_CA.ISO-8859-1"
LC_ADDRESS="en_CA.ISO-8859-1"
LC_TELEPHONE="en_CA.ISO-8859-1"
LC_MEASUREMENT="en_CA.ISO-8859-1"
LC_IDENTIFICATION="en_CA.ISO-8859-1"
LC_ALL=en_CA.ISO-8859-1
(0) keeling /home/keeling_ things
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_CA.ISO-8859-1",
    LC_ALL = "en_CA.ISO-8859-1",
    LC_CTYPE = "",
    LANG = "en_CA.ISO-8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale
    ("C").
  ---------------------------------------------------

The fix was to, as root:

   edit /etc/locale.gen

       add "en_CA ISO-8859-1"

   edit /etc/locale.alias

       add "en_CA   en_CA.ISO-8859-1"

   run "locale-gen"


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux infidel 2.4.16 #2 Mon Dec 1 10:27:09 MST 2003 i686
Locale: LANG=en_CA.ISO-8859-1, LC_CTYPE=en_CA.ISO-8859-1




Reply to: