From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 21 16:41:30 2007 Return-Path: X-Original-To: freebsd-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 6EA6E16A400 for ; Sat, 21 Apr 2007 16:41:30 +0000 (UTC) (envelope-from freebsd-gnome@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8E813C4AD for ; Sat, 21 Apr 2007 16:41:29 +0000 (UTC) (envelope-from freebsd-gnome@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HfIeI-0001xx-C6 for freebsd-gnome@freebsd.org; Sat, 21 Apr 2007 18:41:22 +0200 Received: from r5j156.net.upc.cz ([86.49.9.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2007 18:41:22 +0200 Received: from gamato by r5j156.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Apr 2007 18:41:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-gnome@freebsd.org From: martinko Date: Sat, 21 Apr 2007 18:41:08 +0200 Lines: 39 Message-ID: <462A3EA4.5080303@users.sf.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5j156.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.8) Gecko/20061111 SeaMonkey/1.0.6 In-Reply-To: <20070406133717.fbc1f9f9.jylefort__42609.1188252487$1175860050$gmane$org@FreeBSD.org> Sender: news 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 16:41:30 -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=