From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 14:04:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E768106564A for ; Thu, 22 Dec 2011 14:04:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 30A3E8FC16 for ; Thu, 22 Dec 2011 14:04:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id 1B3781E344; Thu, 22 Dec 2011 15:04:27 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBME4RhO002536; Thu, 22 Dec 2011 15:04:27 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 22 Dec 2011 15:04:27 +0100 From: Polytropon To: Da Rock Message-Id: <20111222150427.460f167e.freebsd@edvax.de> In-Reply-To: <4EF33748.4080800@herveybayaustralia.com.au> References: <4EF2BBF7.60002@herveybayaustralia.com.au> <4EF32D11.4070209@herveybayaustralia.com.au> <20111222142055.6dfa998f.freebsd@edvax.de> <4EF33748.4080800@herveybayaustralia.com.au> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LOCALE issue: Pysycache errors on run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 14:04:29 -0000 On Thu, 22 Dec 2011 23:57:28 +1000, Da Rock wrote: > On 12/22/11 23:20, Polytropon wrote: > > On Thu, 22 Dec 2011 23:13:53 +1000, Da Rock wrote: > >> %env LANG=en_EN.ISO8859-1 pysycache.py > > ^^ > > Isn't that supposed to be en_US or en_GB? > > I'm not sure if there's also en_AU... :-) > > > The one variation I didn't try.... I had tried en_US and en_AU, but not > with the encoding. I see - if I remember correctly, $LANG is just the language combination, while $LC_* do have the encoding appended, e. g. ISO8859-1, -15 or UTF-8. There's also a "precedence rule" regarding $LANG and the $LC_* settings, and $LC_ALL in relation to the others of $LC_*. > BTW there is en_AU. Cool, didn't know that (just assumed). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...