From owner-freebsd-stable@FreeBSD.ORG Tue Feb 14 09:56:06 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7781316A420 for ; Tue, 14 Feb 2006 09:56:06 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8D6F43D46 for ; Tue, 14 Feb 2006 09:56:05 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (pahevu@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k1E9txxP049030 for ; Tue, 14 Feb 2006 10:56:04 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k1E9tx7h049029; Tue, 14 Feb 2006 10:55:59 +0100 (CET) (envelope-from olli) Date: Tue, 14 Feb 2006 10:55:59 +0100 (CET) Message-Id: <200602140955.k1E9tx7h049029@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20060214033217.GA68502@tigerfish2.my.domain> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 14 Feb 2006 10:56:04 +0100 (CET) Cc: Subject: Re: locale questions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 09:56:06 -0000 Bruce Burden wrote: > Okay, OpenOffice 2.0 is now spewing out the error message: > > I18N: Operating system doesn't support locale "en_US" > > Hmmm. So, from what I understand from the documentation I have > looked at, this is because I do not have an entry in the /etc/ > login.conf file covering this entry. Yes/no? Locales are searched for in /usr/share/locales, and there is no locale "en_US". The next closest locale would be "en_US.US-ASCII". You could make a Symlink to en_US, but that's an ugly hack, of course. :-) Better set your locale environment to one of the existing locales. You can do that globally via /etc/login.conf, or just for yourself in your shell's login profikle/script. > Another thing - as I look in /etc/login.conf, I DO have a > Russian entry. Why? Those are just examples. > So, if I do need to create an entry in the login.con file, > what is the charset that I define? Depends on what charset you want. :-) On my local machine here, I changed the "default" entr (at the very beginning) to look like this: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,LC_CTYPE=de_DE.ISO8859-1:\ ...etc... i.e. I set the default to German locale with ISO8859-1 charset (that's because all users on that machine are German anyway). Also, I set only LC_CTYPE to get the character set support, but none of the other locale variables, to avoid nasty surprises. If you just want an US-ASCII character set, use the "en_US.US-ASCII" locale instead. See /usr/share/locale for all locales that are supported. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "The ITU has offered the IETF formal alignment with its corresponding technology, Penguins, but that won't fly." -- RFC 2549