Subject: Re: anyone know how to get rid of perl's locale warnings?
To: paul <pkdb1@attbi.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/17/2002 19:03:06
On Thu, Jan 17, 2002 at 09:23:32AM -0800, paul wrote:
> Is this something that should be fixed at compile/build time? I don't
> seem to be able to fix it in the shell.
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LANG = "en_US.ISO8859-1"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
I'm not sure you want to set LANG to this.
LANG is used as default if the corresponding LC_* isnt' set. LC_ALL has the
same role and takes precedence over LANG.
LANG is also used by the XPG3 nls system, hence some confusion.
What you need here is to set LC_CTYPE to en_US.ISO8859-1 and unset LANG.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--