From owner-freebsd-chat@FreeBSD.ORG Wed Apr 5 06:54:42 2006 Return-Path: X-Original-To: freebsd-chat@FreeBSD.ORG Delivered-To: freebsd-chat@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C7716A401 for ; Wed, 5 Apr 2006 06:54:42 +0000 (UTC) (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 0094A43D5A for ; Wed, 5 Apr 2006 06:54:40 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (bkvenm@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k356sX5A035543 for ; Wed, 5 Apr 2006 08:54:39 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k356sXKM035542; Wed, 5 Apr 2006 08:54:33 +0200 (CEST) (envelope-from olli) Date: Wed, 5 Apr 2006 08:54:33 +0200 (CEST) Message-Id: <200604050654.k356sXKM035542@lurza.secnetix.de> From: Oliver Fromme To: freebsd-chat@FreeBSD.ORG In-Reply-To: <4432F5AF.4030201@daleco.biz> X-Newsgroups: list.freebsd-chat 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]); Wed, 05 Apr 2006 08:54:39 +0200 (CEST) Cc: Subject: Re: LOCALE, Ltd.? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-chat@FreeBSD.ORG List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 06:54:42 -0000 Kevin Kinsey wrote: > I'd been talking on a forum with a Linux database guy, > and he mentioned that on the PostGres lists, people > would "love to use *BSD" but the locale support is limited. > > Well, sure 'nough, `locale -a | wc -l` seems to be in the > mid-200s here, and his systems have over 550 locales. I think one of the main problems is that FreeBSD's support for multi-byte character sets such as UTF-8 is weak, to say the least. For example, syscons doesn't support it at all, neither many programs in the base system. The Linux folks really seem to be ahead in this regard. By the way, as for the argument of "400 countries" ... The number of locales doesn't have anything to do with the number of countries. For example, Switzerland requires at least three different locales (for Swiss German, Swiss French and Swiss Italian language). Furthermore you might need different character encodings (ISO8859-1, ISO8859-8, UTF-8 or even less common ones such as UTF-16), that'll double or triple the locales. And, no, "Foobar here" and "Foobar there" don't need to be the same -- for example, Austrian German has some different month names from German German. Yeah, sounds funny, but that's how the world is. I guess matters are even more complicated for our friends in the Asian areas. 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. (On the statement print "42 monkeys" + "1 snake":) By the way, both perl and Python get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when the answer is clearly "41 monkeys and 1 fat snake". -- Jim Fulton