From owner-freebsd-questions Wed Jan 26 7:26:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from acgva.net (acgva.net [216.54.63.29]) by hub.freebsd.org (Postfix) with SMTP id 8883215347 for ; Wed, 26 Jan 2000 07:26:14 -0800 (PST) (envelope-from dmaple@methos.net) Received: (qmail 96908 invoked from network); 26 Jan 2000 15:26:42 -0000 Received: from intra.acgva.net (HELO acgpdc) (216.54.63.4) by acgva.net with SMTP; 26 Jan 2000 15:26:42 -0000 From: "David C. Maple" To: Subject: RE: locale question Date: Wed, 26 Jan 2000 10:26:28 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <20000124.23333900@bartequi.ottodomain.org> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I found my answer after some searching, but thanks for your response. It was what I was looking for. Dave -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Salvo Bartolotta Sent: Monday, January 24, 2000 6:34 PM To: questions@FreeBSD.ORG Subject: Re: locale question >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 1/24/00, 2:34:15 PM, "David C. Maple" wrote regarding locale question: > I just installed 3.4-Release from CD and am now getting two errors > involving locale. > >From perl I get: > 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 back to the standard locale ("C"). > >From emacs I get: > Warning: locale not supported by C library, locale unchanged > I am totally unfarmiliar with this, but I'm guessing I've got one thing > wrong that will fix both problems. So, any help would be appreciated. Dear David C. Maple, I include here my own working "experimental" examples: I run four locales, each as a different user. These seem to behave "satisfactorily"; however, I shall have to refine some more details. You migh want to read perllocale(1) and setlocale(3) to begin with. Enjoy ! # Us English locale configuration, in my ~/.tcshrc 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 ################################ # French locale configuration in another user's ~/.tcshrc setenv LC_ALL fr_FR.ISO_8859-1 setenv LC_CTYPE fr_FR.ISO_8859-1 setenv LANG fr_FR.ISO_8859-1 setenv MM_CHARSET ISO-8859-1 ################################ # German locale configuration in another user's ~/.tcshrc setenv LC_ALL de_DE.ISO_8859-1 setenv LC_CTYPE de_DE.ISO_8859-1 setenv LANG de_DE.ISO_8859-1 setenv MM_CHARSET ISO-8859-1 # there's some stuff in the handbook related to the German locale. ################################ # Italian locale configuration in ~/.bash_profile, # just for a change ;-) LC_ALL=it_IT.ISO_8859-1; export LC_ALL LC_CTYPE=it_IT.ISO_8859-1; export LC_CTYPE LANG=it_IT.ISO_8859-1; export LANG MM_CHARSET=ISO-8859-1; export MM_CHARSET ################################ With these settings, and the corresponding settings in KDE, I have found no locale errors -- so far. HTH N.B. my_fake_antispam_domain ===> neomedia.it to e-mail to me. Best regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message