Subject: Re: workaround for pkg/14051
To: None <bouyer@antioche.lip6.fr>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-userlevel
Date: 01/21/2002 21:22:41
hi.
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
> > I have no idea about 1.5 branch. sorry.
> > I guess that sym-links in nls directory and setting LANG like
> > de_DE.ISO8859-1 can solve it.
>
> Well, then we need a few more symlinks in /usr/{,pkg,X11R6}/share/locale
> because de_DE.ISO8859-1 isn't a valid setting for LC_MESSAGES for example.
are you talking about gettext/libintl message catalogs?
they're different things from catopen databases.
> > I think that your proposal(setting default LC_ALL) is missing the
> > point a bit.
> > I saw perl's code just now, and IIRC,
> > original PR is the problem of perl. (if it's a problem)
> > perl should just ignore failures of setlocale and
> > should fall back to "C" locale silently, IMO.
> > (or simply, you shouldn't set environment variables to
> > use system-unsupported locales. in the case of this PR,
> > you can set like LC_CTYPE=de_DE.ISO8859-1 LC_COLLATE=C
> > and so on.)
>
> If you want libc's deutch message you have to set LANG to de, you can't do
> it another way currently. Making catopen to use LC_MESSAGES would fix it.
I agree that we should implement NL_CAT_LOCALE anyway.
---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>