Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 10:26:28 -0500
From:      "David C. Maple" <dmaple@methos.net>
To:        <questions@FreeBSD.ORG>
Subject:   RE: locale question
Message-ID:  <NDBBJOCGKDOOGGKEMPHGCEFKCCAA.dmaple@methos.net>
In-Reply-To: <20000124.23333900@bartequi.ottodomain.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <dmaple@series2000.com> 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




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