Ticket #2999 (new enhancement)

SVN Diffs for #2999

 

Opened 5 years ago

Last modified 4 months ago

Collation folding

Reported by: mark.davis(at)us.ibm.com Assigned to: mark
Priority: assess Milestone: UNSCH
Component: collation Version:
Keywords: collation Cc:
Load: Xref:
Java Version: Operating System: all
Project (C/J): ICU4C,ICU4J and ICU4JNI Weeks: 1
Review:

Description (Last modified by srl)

Add a function to C, C++, and Java Collator that returns a folded string, which is defined such that

someCollator.compare(a, b) == 0 IF AND ONLY IF someCollator.fold(a) is binary equal to someCollator.fold(b).

A folded string doesn't say anything about ordering, just identity. Useful for matching, as in regular expressions.

In implementation, we will favor the simplest string for the folding, e.g. lowercase, no accents, etc.

Attachments

Change History

12/31/69 17:28:24 changed by auditor

  • 06/09/03 12:47:42 schererm changed notes2
  • 07/12/04 01:41:28 weiv changed notes2

09/26/07 16:15:16 changed by mark

  • load changed.
  • xref changed.
  • java changed.
  • owner changed from mark to weiv.
  • weeks changed from 4 to 1.
  • revw changed.

Can be done external to Collation (have prototype), but would be faster if done internally.

09/26/07 16:15:30 changed by mark

  • priority changed from minor to major.
  • type changed from defect to enhancement.

07/07/08 12:04:22 changed by srl

  • owner changed from weiv to emmons.
  • priority changed from major to assess.
  • description changed.

07/21/08 08:12:45 changed by hchapman

  • owner changed from emmons to mark.

Add/Change #2999 (Collation folding)




Anti spam check: