Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 067CF1337B69 for ; Wed, 9 Feb 2011 18:26:02 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 17622-08 for ; Wed, 9 Feb 2011 22:25:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mail.postgresql.org (Postfix) with SMTP id 548211337B47 for ; Wed, 9 Feb 2011 18:25:54 -0400 (AST) Received: (qmail invoked by alias); 09 Feb 2011 22:25:53 -0000 Received: from a88-115-218-165.elisa-laajakaista.fi (EHLO [10.0.0.101]) [88.115.218.165] by mail.gmx.net (mp036) with SMTP; 09 Feb 2011 23:25:53 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1/x9ApQxJfx0NmHOEVjsE1DO9y9CY6S6ZpghVe8IF en6klY20yg5QnB Subject: Re: sort order (ORDER BY) hu_HU.UTF-8 locale with UTF-8 encoding is not working correctly on FreeBSD From: Peter Eisentraut To: Tom Lane Cc: Adam PAPAI , pgsql-bugs@postgresql.org In-Reply-To: <6870.1297008370@sss.pgh.pa.us> References: <4D4E76BD.5060706@bsdsupportservice.hu> <6870.1297008370@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Date: Thu, 10 Feb 2011 00:25:52 +0200 Message-ID: <1297290352.23596.11.camel@vanquo.pezone.net> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/85 X-Sequence-Number: 29357 On sön, 2011-02-06 at 11:06 -0500, Tom Lane wrote: > I don't know the state of affairs on FreeBSD for sure, but I do know > that the UTF-8 locales are fairly broken on Mac OS X, which is a BSD > derived platform too. It looks like nobody in BSD-land has bothered > to put in the work to make multibyte characters sort properly. Yeah, same on FreeBSD. Using LATINn is the right choice there.