From owner-freebsd-current@FreeBSD.ORG Sun Nov 18 15:11:31 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 5F1F616A421 for ; Sun, 18 Nov 2007 15:11:31 +0000 (UTC) (envelope-from henrik@mdfnet.se) Received: from maul.mdfnet.se (maul.mdfnet.se [193.11.113.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1EBAA13C48A for ; Sun, 18 Nov 2007 15:11:30 +0000 (UTC) (envelope-from henrik@mdfnet.se) Received: from faramir.mdfnet.se (faramir.mdfnet.se [193.11.113.4]) by maul.mdfnet.se (Postfix) with ESMTP id 67CEB398015; Sun, 18 Nov 2007 16:11:05 +0100 (CET) Received: from [193.11.119.2] (c-119-2-esk.cust.mdfnet.se [193.11.119.2]) by faramir.mdfnet.se (Postfix) with ESMTP id D4DC31141E; Sun, 18 Nov 2007 16:09:52 +0100 (CET) Message-ID: <4740565F.2050007@mdfnet.se> Date: Sun, 18 Nov 2007 16:12:31 +0100 From: Henrik Bergkvist User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Niclas Zeising , 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> <474027B0.3070309@gmail.com> In-Reply-To: <474027B0.3070309@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 15:11:31 -0000 Niclas Zeising wrote: > 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. Since SAOL 13:th edition it's changed. They now consider it two different characters, so I guess the correct way is to not sort it as the same anymore. References in swedish. http://sv.wikipedia.org/wiki/W http://www.dn.se/DNet/jsp/polopoly.jsp?d=1058&a=538744&previousRenderType=3 /Henrik