This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[ Bug#96928: locale -a reports incorrect locale name ru_RU.koi8r]

I got the following Debian bug report. I'm not sure of the behavior
thought. Take for example:

blimpo:~# localedef -i ru_RU -c -f KOI8-R ru_RU.KOI8-R
blimpo:~# locale -a | grep ru_RU
blimpo:~# ls -ld /usr/lib/locale/ru_RU.koi8r
drwxr-xr-x    3 root     root         4096 May  9 21:16 /usr/lib/locale/ru_RU.koi8r
blimpo:~# LANG=ru_RU.koi8r perl -e 'print "Hello\n";'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "ru_RU.koi8r"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
blimpo:~# LANG=ru_RU.koi8-r perl -e 'print "Hello\n";'

----- Forwarded message from Alexander Stavitsky <> -----

Subject: Bug#96928: locale -a reports incorrect locale name ru_RU.koi8r
From: Alexander Stavitsky <>
To: Debian Bug Tracking System <>

Package: libc6
Version: 2.2.3-1
Severity: normal

Locale -a says there is ru_RU.koi8r, but after "export LANG=ru_RU.koi8r"
all programs report problems setting locale.
The correct locale name is ru_RU.KOI8-R, according to /etc/locale.gen.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux eagle 2.2.19 #1 Fri May 4 15:23:20 EDT 2001 i586

Versions of packages libc6 depends on:
ii  libdb2                        2:2.7.7-7  The Berkeley database routines (ru

----- End forwarded message -----

/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  --  --  '

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]