From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19339 invoked by alias); 1 May 2012 03:58:54 -0000 Received: (qmail 19331 invoked by uid 22791); 1 May 2012 03:58:53 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 May 2012 03:58:43 +0000 From: "ndrwrdck at gmail dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug localedata/14038] strcoll sorting order Date: Tue, 01 May 2012 03:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ndrwrdck at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00003.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D14038 --- Comment #1 from Andrzej 2012-05-01 03:58:14= UTC --- Just to clarify, I run into this issue(?) when we tried to optimize sorting= in our application. Our assumption was that, knowing that the first character of two strings are different, comparing just these characters is as good as comparing the whole strings, that is if '=E3=81=82' < 'a' then '=E3=81=82aaa' < 'aa'. This assu= mption fails with the current design of strcoll. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.