Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2000 10:46:40 GMT
From:      Salvo Bartolotta <bartequi@inwind.it>
To:        "bsdnewbie bsdnewbie" <bsdnewbie@hotmail.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: _perl: warning: Setting locale failed.
Message-ID:  <20000827.10464000@mis.configured.host>
In-Reply-To: <F171xDAeys8FSA4AleL0000042f@hotmail.com>
References:  <F171xDAeys8FSA4AleL0000042f@hotmail.com>

index | next in thread | previous in thread | raw e-mail

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 8/27/00, 7:29:08 PM, "bsdnewbie bsdnewbie" <bsdnewbie@hotmail.com> 
wrote regarding _perl: warning: Setting locale failed.:


> After I added some ports to my FreeBSD box, many command such as 
"rmuser" &
> "which" will dispaly some warning message such as:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>       LC_ALL=(unset).
>       LC_CTYPE = "en_US",
>       LANG = (unset)
>     are supported and installed on your system.
> perl: warning: Falling bck tothe standard locale ("C").

> What is the matter?  How to disable them?  Thanks in advance.



Dear Bsdnewbie,

in your shell startup file(s), you may wish to set those variables to 
the appropriate values.

As an "English" user, I have -- "experimentally" -- set the following 
(I use the tcsh shell):  

setenv LC_ALL en_US.ISO_8859-1
setenv LC_CTYPE en_US.ISO_8859-1
setenv LANG en_US.ISO_8859-1
setenv MM_CHARSET ISO-8859-1

I am not sure these are the best (or more correct) settings; actually, 
I have not (yet) bothered to fine-tune the locale settings, either.

However, I no longer receive any complaints ...

Best regards,
Salvo





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000827.10464000>