From owner-freebsd-questions Mon Jan 24 15:36:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id 1EB1214D7C for ; Mon, 24 Jan 2000 15:36:00 -0800 (PST) (envelope-from bartequi@nojunk.com) Received: from bartequi.ottodomain.org (ppp45-pa4.neomedia.it [195.103.207.237]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id AAA04165 for ; Tue, 25 Jan 2000 00:31:44 +0100 (CET) From: Salvo Bartolotta Date: Mon, 24 Jan 2000 23:33:39 GMT Message-ID: <20000124.23333900@bartequi.ottodomain.org> Subject: Re: locale question To: questions@FreeBSD.ORG 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 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 =3D (unset), > LC_CTYPE =3D "en_US", > LANG =3D (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=3Dit_IT.ISO_8859-1; export LC_ALL LC_CTYPE=3Dit_IT.ISO_8859-1; export LC_CTYPE LANG=3Dit_IT.ISO_8859-1; export LANG MM_CHARSET=3DISO-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 =3D=3D=3D> 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