Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2007 18:41:08 +0200
From:      martinko <gamato@users.sf.net>
To:        Jean-Yves Lefort <jylefort@FreeBSD.org>
Cc:        gnome@freebsd.org, Michael Nottebrock <lofi@freebsd.org>, kde-freebsd@freebsd.kde.org, xors@mne.ru
Subject:   Re: [kde-freebsd] system:/media/cd0 and volume_label not latin   symbols
Message-ID:  <462A3EA4.5080303@users.sf.net>
In-Reply-To: <20070406133717.fbc1f9f9.jylefort__42609.1188252487$1175860050$gmane$org@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462A3EA4.5080303>