Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2007 18:16:59 +0200
From:      Stefan Esser <se@FreeBSD.org>
To:        Neil Short <neshort@yahoo.com>
Cc:        freebsd-x11@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: xorg 7.2 & environment variables set in login.conf
Message-ID:  <20070603161659.GA50832@Gatekeeper.FreeBSD.org>
In-Reply-To: <977966.60249.qm@web56506.mail.re3.yahoo.com>
References:  <977966.60249.qm@web56506.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-06-03 07:38 -0700, Neil Short <neshort@yahoo.com> wrote:
> How do you export those variables successfully in
> ~/.xsession? It still doesn't help with me.
> 
> check this out:
> 
>  $ locale
> LANG=en_US

This is not a valid locale! You have a choice between:

	en_US.ISO8859-1
	en_US.ISO8859-15
	en_US.US-ASCII
	en_US.UTF-8

[...]
> $ echo $LC_ALL
> en_US
> $ perl
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LC_ALL = (unset),
>         LANG = "en_US"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").

Yes, and perl tells you, that en_US just isn't specific enough 
for its needs ...

It's up to you whether you prefer en_US.US-ASCII, en_US.ISO8859-1,
or en_US.UTF-8 (e.g. depending on whether you at least occasionally
work with foreign language texts).

Regards, STefan



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