This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[astavitsky@yahoo.com: Bug#96928: locale -a reports incorrect locale name ru_RU.koi8r]
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: [astavitsky@yahoo.com: Bug#96928: locale -a reports incorrect locale name ru_RU.koi8r]
- From: Ben Collins <bcollins at debian dot org>
- Date: Mon, 21 May 2001 09:20:59 -0400
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
ru_RU.koi8r
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").
Hello
blimpo:~# LANG=ru_RU.koi8-r perl -e 'print "Hello\n";'
Hello
blimpo:~#
----- Forwarded message from Alexander Stavitsky <astavitsky@yahoo.com> -----
Subject: Bug#96928: locale -a reports incorrect locale name ru_RU.koi8r
From: Alexander Stavitsky <astavitsky@yahoo.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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 \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'