From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 21 17:09:13 2007 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E086716A406 for ; Sat, 21 Apr 2007 17:09:13 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: from slimak.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.freebsd.org (Postfix) with SMTP id 27DCA13C468 for ; Sat, 21 Apr 2007 17:09:12 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 91442 invoked by uid 0); 21 Apr 2007 16:41:10 -0000 Received: from r5j156.net.upc.cz (HELO ?86.49.9.156?) (86.49.9.156) by smtp.dkm.cz with SMTP; 21 Apr 2007 16:41:10 -0000 Message-ID: <462A3EA4.5080303@users.sf.net> Date: Sat, 21 Apr 2007 18:41:08 +0200 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.8) Gecko/20061111 SeaMonkey/1.0.6 MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.devel.gnome To: Jean-Yves Lefort References: <460FF56A.3040307@dobrohot.org> <200704040549.34795.xors@mne.ru> <20070404124205.8857d5c5.jylefort@FreeBSD.org> <200704041258.33610.lofi@freebsd.org> <20070406133717.fbc1f9f9.jylefort__42609.1188252487$1175860050$gmane$org@FreeBSD.org> In-Reply-To: <20070406133717.fbc1f9f9.jylefort__42609.1188252487$1175860050$gmane$org@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org, Michael Nottebrock , kde-freebsd@freebsd.kde.org, xors@mne.ru Subject: Re: [kde-freebsd] system:/media/cd0 and volume_label not latin symbols X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 17:09:14 -0000 Jean-Yves Lefort wrote: > > What would be difficult (or impossible) would be to provide a > satisfactory explanation of the option using the small number of > characters available. > > You're right that the FreeBSD libc lacks Unicode collation support, > but it seems that no gain is made by sticking to a legacy locale: > > $ touch A B a b > $ export LANG=en_US.UTF-8; ls > A B a b > $ export LANG=en_US.ISO8859-1; ls > A B a b > > As you can see, the files are incorrectly sorted with both locales. On > a Linux box, the sort order is correct (a A b B) in both cases. > > If someone can convince me that there are good reasons to use a legacy > locale, I might add the option despite the fact that its description > would be cryptic. > As you can see below sorting is quite OK on FreeBSD ... $ mkdir test $ cd test/ $ touch A B a b $ ls A a B b $ locale LANG=sk_SK.ISO8859-2 LC_CTYPE="sk_SK.ISO8859-2" LC_COLLATE="sk_SK.ISO8859-2" LC_TIME=C LC_NUMERIC=C LC_MONETARY=C LC_MESSAGES=C LC_ALL=