Re: PERL_BADLANG
On Thu, 6 Jan 2000, Joey Hess wrote:
> Adam Di Carlo wrote:
> > I'm not sure... is this a perl issue? dselect issue? CC'd those parties.
>
> Well, it's a perl issue - if LANG Is set incorrectly, even trivial perl
> scripts gripe at you:
>
> joey@kite:~>LANG=foo perl -e 1
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "foo"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
> Dselect uses perl for its access method configuration, plus of course it can
> install debian packages that use perl.
Where dbootstrap sets the LANG= variable, it should set it using the 'long
format' specifying both the language and country. That would allow to get
rid of my kludge...
Cordialement,
--
- Vincent RENARDIAS vincent@{{ldsol,pipo}.com,{debian,openhardware}.org} -
- Debian/GNU Linux: GNOME : -
- http://www.fr.debian.org http://www.gnome.org -
---------------------------------------------------------------------------
"Every man has two nations, and one of them is France" [Benjamin Franklin]
Reply to: