From owner-freebsd-i18n@FreeBSD.ORG Sat Jun 21 15:49:08 2003 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5354737B401; Sat, 21 Jun 2003 15:49:08 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79E6843F3F; Sat, 21 Jun 2003 15:49:07 -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 19TrAR-0001Qe-00; Sun, 22 Jun 2003 00:49:07 +0200 Received: from [217.235.138.192] (helo=workstation) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19TrAQ-00063V-00; Sun, 22 Jun 2003 00:49:07 +0200 Message-ID: <005701c33847$52707100$0700010a@workstation> From: "Vahe Khachikyan" To: References: <20030621105319.GA79236@sunbay.com> Date: Sun, 22 Jun 2003 00:49:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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 cc: Ruslan Ermilov Subject: BUG in collate routines?!(Moved from hackers) X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 22:49:08 -0000 Hi , Ruslan thank you for your answer. Your forwarded test program works correctly. Sorry for missleading information I think my problem was with the sort which does strange sorting ... The sort version is probably quite old ------------- /* $FreeBSD: src/gnu/usr.bin/sort/sort.c,v 1.15.2.4 2002/04/17 11:41:42 ache Exp $ */ --------------- os version FreeBSD 4.8-RC it does the same on Alpha and on x386 platforms with 4.8-RC and just one week old 4.8 -stable. I assume that the sort have no clue of ligatures or comparision of strings with ligatures Assumpsion of sort being an old version based on fact that , sort under Linux works correctly. -- Vahe Khachikyan --- ----- Original Message ----- From: "Ruslan Ermilov" To: Sent: Saturday, June 21, 2003 12:53 PM Subject: [ache@nagual.pp.ru: Re: [vahe@khachikyan.de: BUG in collate routines?!]] On Sat, Jun 21, 2003 at 11:41:29 +0300, Ruslan Ermilov wrote: > In case you didn't get this... I not read hackers. His information is wrong, test program included: #include main() { setlocale(LC_COLLATE, "de_DE.ISO8859-1"); printf("%d\n",strcoll("\xdf", "sr")); printf("%d\n",strcoll("\xdf", "ss")); printf("%d\n",strcoll("\xdf", "st")); } > > -- > Ruslan Ermilov Sysadmin and DBA, > ru@sunbay.com Sunbay Software Ltd, > ru@FreeBSD.org FreeBSD committer > Date: Sat, 21 Jun 2003 00:57:59 +0200 > From: Vahe Khachikyan > Subject: BUG in collate routines?! > To: FreeBSD Hackers > X-Mailer: Microsoft Outlook Express 6.00.2800.1158 > > 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 > --- > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-i18n@FreeBSD.ORG Sat Jun 21 15:57:44 2003 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F8FF37B401; Sat, 21 Jun 2003 15:57:44 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A1E43F85; Sat, 21 Jun 2003 15:57:42 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.9/8.12.9) with ESMTP id h5LMvet0029714; Sun, 22 Jun 2003 02:57:41 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.9/8.12.9/Submit) id h5LMveAV029713; Sun, 22 Jun 2003 02:57:40 +0400 (MSD) Date: Sun, 22 Jun 2003 02:57:39 +0400 From: Andrey Chernov To: Vahe Khachikyan Message-ID: <20030621225739.GA29686@nagual.pp.ru> References: <20030621105319.GA79236@sunbay.com> <005701c33847$52707100$0700010a@workstation> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005701c33847$52707100$0700010a@workstation> User-Agent: Mutt/1.5.4i cc: Ruslan Ermilov cc: freebsd-i18n@freebsd.org Subject: Re: BUG in collate routines?!(Moved from hackers) X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 22:57:44 -0000 On Sun, Jun 22, 2003 at 00:49:06 +0200, Vahe Khachikyan wrote: > > Sorry for missleading information I think my problem was with the sort which > does strange sorting ... > > The sort version is probably quite old > ------------- > /* $FreeBSD: src/gnu/usr.bin/sort/sort.c,v 1.15.2.4 2002/04/17 11:41:42 ache > Exp $ */ > --------------- > os version FreeBSD 4.8-RC it does the same on Alpha and on x386 platforms > with 4.8-RC > and just one week old 4.8 -stable. See sort in FreeBSD 5.