[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu-bugrfe
Subject:    [icu-bug] incoming/2546
From:       jtcsv () jtcsv ! com
Date:       2002-12-11 0:54:27
[Download RAW message or body]

schererm moved PR#2546 from incoming to collation	URL: http://www.jtcsv.com/cgi-bin/icu-bugs?findid=2546

====> ORIGINAL MESSAGE FOLLOWS <====

From: yoder5@gate.net
Date: Fri Dec  6 00:11:18 2002
Subject: ucol_mergeSortkeys

Full_Name: Brian Yoder
Version: 2.1
OS: aix
PROJECT: ICU4C
JAVA:   
Submission from: (NULL) (66.167.170.168)


The ucol_mergeSortkeys seems to have a problem: When one of the sort keys is of
zero length, the merge separator character is not added. This results in an
incorrect sort key. For example, consider a sort on lastname+firstname+city. And
consider there are two records, the first of which contains text for all 3 of
these fields, while the second contains text for only lastname and city but no
firstname. The merged sort key for the second record will be missing the merge
separator for firstname. Therefore, when the two sort keys are those records are
compared, the sort key for the first record's firstname will be compared with
the sort key for the second record's city.

_______________________________________________
icu-bugrfe mailing list
icu-bugrfe@oss.software.ibm.com
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu-bugrfe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic