From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 20 15:58:02 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75DBE37B401 for ; Fri, 20 Jun 2003 15:58:02 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F6B943FA3 for ; Fri, 20 Jun 2003 15:58:01 -0700 (PDT) (envelope-from vahe@khachikyan.de) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19TUpV-0002qC-00 for freebsd-hackers@freebsd.org; Sat, 21 Jun 2003 00:58:01 +0200 Received: from [217.235.139.200] (helo=workstation) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19TUpU-0003Cc-00 for freebsd-hackers@freebsd.org; Sat, 21 Jun 2003 00:58:01 +0200 Message-ID: <005201c3377f$65f4c460$0700010a@workstation> From: "Vahe Khachikyan" To: "FreeBSD Hackers" Date: Sat, 21 Jun 2003 00:57:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: BUG in collate routines?! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 22:58:02 -0000 Hi , I was making a new locale for Armenian and it seams that found a bug in substitute routines. The problem is, that the colldef with substitution seams to have a buggy behaviour. When a locale has a LC_COLLATE defined with a substitution like German 'ß' which is substituted with 'ss', then a strcoll of strings 'sr' and 'ß' returns the same value like strcoll of 'st' and 'ß'. The colldef file for de_DE.ISO8859-1 says that the german ligature 'ß' should be substituded with 'ss'. I hope that I understood the meaning of substitude in colldef correctly, at least on Linux it works as awaited. Should we make a patch for libc or is this a correct behaviour? -- Vahe Khachikyan ---