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

Re: Bug#79530: locales: locale-gen generates locale-files with incorrect names



А где должны возникать проблемы из-за koi8r вместо KOI8-R?
У меня нет /usr/locale/share/ru_RU.KOI8-R.

10:01:55 pepper:~$ strace date 2>&1 | grep koi
open("/usr/lib/locale/ru_RU.koi8r/LC_IDENTIFICATION", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_MEASUREMENT", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_TELEPHONE", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_ADDRESS", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_NAME", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_PAPER", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_MESSAGES", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_MONETARY", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_COLLATE", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_TIME", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_NUMERIC", O_RDONLY) = 3
open("/usr/lib/locale/ru_RU.koi8r/LC_CTYPE", O_RDONLY) = 3
open("/usr/share/locale/ru_RU.koi8r/LC_MESSAGES/sh-utils.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/ru.koi8r/LC_MESSAGES/sh-utils.mo", O_RDONLY) = -1
ENOENT (No such file or directory)

И поверьте мне, gimp делает точно так же.

> ++ 13/12/00 11:55 -0500 - Ben Collins:
> > On Wed, Dec 13, 2000 at 06:49:09PM +0300, nidd@debian.org wrote:
> > > locale-gen generates incorrect locale-files. For example if I insert
> > > this line:
> > > ru_RU.KOI8-R KOI8-R
> > > in /etc/locale.gen, it generates locale in /usr/lib/locale/ru_RU.koi8r
> > > directory. Its not a bug of locale-gen, its a feature of
> > > localedef, that "normalizes" locale names. This feature make life
> > > hard from people with .charset locales (japanese .eucJP for eg.), 
> > > because programs check directories with charset name in upper 
> > > characters (for example qt, gtk and XFree86).  Me and Alexander 
> > > Kotelnikov (sacha@debian.org), patched the locale-gen, so it works 
> > > with such locales. Here it is:
> > > 
> > > <skip>
> >
> > I cannot implement this. Upstream claims that normalizing is part of the
> > spec, and is the Right Thing, so I will not go against the grain here.
> > Programs that try to read these files directly will need to take this into
> > account and do the Right Thing themselves.
> 
> It seems that this is trouble not only for us russians, but for
> japanese people. I'm Ccing this mail to debian-i18n and
> debian-russian, if you don't know how many users have trouble with this
> silly Drepper's ``Right Thing''. (BTW, in previous version of libc,
> there was exception for ru_RU.KOI8-R and Makefiles generated KOI8-R,
> not koi8r locale)
> 					NIDD
> 
> --
> People ain't no good
> 
> 


-- 
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

Attachment: pgpwMTo0VThrx.pgp
Description: PGP signature


Reply to: