From owner-freebsd-current@FreeBSD.ORG Sun Nov 18 12:24:08 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4075016A420 for ; Sun, 18 Nov 2007 12:24:08 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mail.visit.se (mail.visit.se [85.194.0.110]) by mx1.freebsd.org (Postfix) with ESMTP id A48AE13C467 for ; Sun, 18 Nov 2007 12:24:07 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: by mail.visit.se (Postfix, from userid 503) id 3287036E0591; Sun, 18 Nov 2007 12:53:24 +0100 (CET) Received: from mail.stunet.se (mail.stunet.se [85.194.0.111]) by mail.visit.se (Postfix) with ESMTP id 4CD6736E056A; Sun, 18 Nov 2007 12:53:17 +0100 (CET) Received: from [85.194.50.150] (cust.fiber-lan.vnet.lk.85.194.50.150.stunet.se [85.194.50.150]) by mail.stunet.se (Postfix) with ESMTP id EA2AD2A6EB; Sun, 18 Nov 2007 12:53:09 +0100 (CET) Message-ID: <474027B0.3070309@gmail.com> Date: Sun, 18 Nov 2007 12:53:20 +0100 From: Niclas Zeising User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Andrey Chernov , Martin Nilsson , freebsd-current@FreeBSD.ORG References: <473FE18B.2090303@gneto.com> <20071118112226.GA20540@nagual.pp.ru> <20071118113019.GA21519@nagual.pp.ru> <20071118113616.GB21519@nagual.pp.ru> In-Reply-To: <20071118113616.GB21519@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.6 (2005-12-07) on mail.visit.se X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.6 Cc: Subject: Re: Setting LANG=sv_SE.ISO_8859-1 breaks 7.0 buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 12:24:08 -0000 Andrey Chernov wrote: > On Sun, Nov 18, 2007 at 02:30:19PM +0300, Andrey Chernov wrote: >> On Sun, Nov 18, 2007 at 02:22:26PM +0300, Andrey Chernov wrote: >>> 1) it should be sv_SE.ISO8859-1, not sv_SE.ISO_8859-1 >> ... >>> 4) Test script reduced to minimum >> Even not the awk bug but rather strcoll() or locale definition, reduced >> down to that: > >> #include >> #include >> #include >> >> main() { >> setlocale(LC_ALL, ""); >> printf ("%d\n", strcoll("ve","w")); >> } > > This is locale definition, I find (V,W); and (v,w); there, is that right > equivalences for sv_SE? I.e. is v=w in sv_SE sorting? > Hi! v and w is sorted the same in Swedish (it's probably a language bug really), so as an example, surnames beginning with v and w are mixed under the same entry in the phone books and so on. Regards! //Niclas