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]

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

At Mon, 21 May 2001 09:20:59 -0400,
Ben Collins wrote:
> 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:~#

This is only gconv module name alias issue.
If `KOI8R' is widely used, this patch should be applied.

--- iconvdata/gconv-modules.vanilla	Thu May 24 00:02:22 2001
+++ iconvdata/gconv-modules	Thu May 24 00:02:22 2001
@@ -415,6 +415,7 @@
 #	from			to			module		cost
 alias	CSKOI8R//		KOI8-R//
+alias	KOI8R//			KOI8-R//
 module	KOI8-R//		INTERNAL		KOI8-R		1
 module	INTERNAL		KOI8-R//		KOI8-R		1

2001-05-24  GOTO Masanori  <>

	* iconvdata/gconv-modules: added KOI8R alias.

-- GOTO Masanori

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