From owner-freebsd-x11@FreeBSD.ORG Sun Jun 3 16:37:49 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A84216A400; Sun, 3 Jun 2007 16:37:49 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC2613C4BB; Sun, 3 Jun 2007 16:37:49 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn04.u.washington.edu (hymn04.u.washington.edu [140.142.15.176]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.05) with ESMTP id l53Gbmhn011763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Jun 2007 09:37:48 -0700 Received: from localhost (localhost [127.0.0.1]) by hymn04.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l53Gblli016573; Sun, 3 Jun 2007 09:37:47 -0700 X-Auth-Received: from [67.166.149.71] by hymn04.u.washington.edu via HTTP; Sun, 03 Jun 2007 09:37:47 PDT Date: Sun, 3 Jun 2007 09:37:47 -0700 (PDT) From: youshi10@u.washington.edu To: Stefan Esser In-Reply-To: <20070603161659.GA50832@Gatekeeper.FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.6.3.91819 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, NO_REAL_NAME 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: freebsd-x11@freebsd.org, Neil Short , freebsd-current@freebsd.org Subject: Re: xorg 7.2 & environment variables set in login.conf X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 16:37:49 -0000 On Sun, 3 Jun 2007, Stefan Esser wrote: > On 2007-06-03 07:38 -0700, Neil Short 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 Stefan's absolutely right. What I would do is use en_US.UTF-8, because it's unicode, but depending on your platform and how much memory you have, representing characters in 2 bytes (unicode) vs 1 byte (ASCII/ISO charsets), might not be such a hip idea (thinking embedded, low memory machines)... -Garrett