From owner-freebsd-chat@FreeBSD.ORG Mon Apr 10 14:05:00 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 8436E16A402 for ; Mon, 10 Apr 2006 14:05:00 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16A543D48 for ; Mon, 10 Apr 2006 14:04:59 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k3AE427o041634; Mon, 10 Apr 2006 16:04:03 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <443A65D2.8020406@fer.hr> Date: Mon, 10 Apr 2006 16:04:02 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Kinsey References: <4432F5AF.4030201@daleco.biz> In-Reply-To: <4432F5AF.4030201@daleco.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-chat@freebsd.org Subject: Re: LOCALE, Ltd.? X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 14:05:00 -0000 Kevin Kinsey wrote: > Well, sure 'nough, `locale -a | wc -l` seems to be in the > mid-200s here, and his systems have over 550 locales. > Not only this, but many FreeBSD locale definitions are useless, where collation is mapped to generic "latin" alphabet instead of what the real language uses. This is true, for example, for my locale hr_HR.UTF-8. That's why PostgreSQL port on FreeBSD can be built with IBM's ICU (http://www.ibm.com/software/globalization/icu/index.jsp) which, as far as I can tell, replaces the OS's locale support. Note that, while generic UNICODE character set support in PostgreSQL (and FreeBSD) is all fine and well, it's almost useless (for business applications) without proper language-specific collation support. Others have noted that the console doesn't suport UTF-8, and I'll add that there may be a bug in UTF8 handling in libc, because my apache server logs show intermittent crashes in PHP module which can be backtraced to utf8.c in libc.