From owner-freebsd-questions Sun Aug 27 4:46:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.inwind.it (relay1.inwind.it [212.141.53.67]) by hub.freebsd.org (Postfix) with ESMTP id B000037B42C for ; Sun, 27 Aug 2000 04:46:37 -0700 (PDT) Received: from localhost (212.141.78.209) by relay1.inwind.it (5.1.039) id 39A67FE50001D28F; Sun, 27 Aug 2000 13:46:35 +0200 From: Salvo Bartolotta Date: Sun, 27 Aug 2000 10:46:40 GMT Message-ID: <20000827.10464000@mis.configured.host> Subject: Re: _perl: warning: Setting locale failed. To: "bsdnewbie bsdnewbie" , freebsd-questions@FreeBSD.ORG In-Reply-To: References: X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 8/27/00, 7:29:08 PM, "bsdnewbie bsdnewbie" =20 wrote regarding _perl: warning: Setting locale failed.: > After I added some ports to my FreeBSD box, many command such as=20 "rmuser" & > "which" will dispaly some warning message such as: > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LC_ALL=3D(unset). > LC_CTYPE =3D "en_US", > LANG =3D (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=20 the appropriate values. As an "English" user, I have -- "experimentally" -- set the following=20 (I use the tcsh shell): =20 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,=20 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