From nobody  Wed Feb  3 18:41:58 1999
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id SAA19371;
          Wed, 3 Feb 1999 18:41:58 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199902040241.SAA19371@hub.freebsd.org>
Date: Wed, 3 Feb 1999 18:41:58 -0800 (PST)
From: rock@cs.uni-sb.de
To: freebsd-gnats-submit@freebsd.org
Subject: error in german (and some other) locale sorting
X-Send-Pr-Version: www-1.0

>Number:         9902
>Category:       bin
>Synopsis:       error in german (and some other) locale sorting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb  3 18:50:00 PST 1999
>Closed-Date:    Thu Feb 21 20:14:07 PST 2002
>Last-Modified:  Thu Feb 21 20:15:58 PST 2002
>Originator:     D. Rock
>Release:        4.0-CURRENT
>Organization:
>Environment:
Bug is present at least since 3.0-CURRENT from July 1998
>Description:
setting LANG to de_DE.ISO_8859-1, output isn't sorted correctly.
>How-To-Repeat:
% mkdir /emptydir; cd /emptydir
% touch sl ss su
% ls
sl  ss  su
% LANG=de_DE.ISO_8859-1 ls
sl  su  ss
% LANG=es_ES.ISO_8859-1 ls
sl  su  ss
% LANG=fr_FR.ISO_8859-1 ls
sl  ss  su

Only locales which use a different collate file seem to be affected.
>Fix:
In Latin 1 there exist the perfectly legal value "", which isn't the
same as "ss". Two letters should always be considered as two letters.
If one still insist in using 7-Bit ASCII there should be an additional
locale de_DE.ASCII
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Thu Feb 21 20:14:07 PST 2002 
State-Changed-Why:  
This seems to have been fixed, 
with 4.5-RELEASE I get: 
k@numeri ~/empty >touch sl ss su 
k@numeri ~/empty >ls 
sl      ss      su 
k@numeri ~/empty >env LANG=de_DE.ISO_8859-1 ls 
sl      ss      su 
k@numeri ~/empty >env LANG=es_ES.ISO_8859-1 ls 
sl      ss      su 
k@numeri ~/empty >env LANG=fr_FR.ISO_8859-1 ls 
sl      ss      su 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=9902 
>Unformatted:
