couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "View collation" by BrianCandler
Date Fri, 10 Apr 2009 08:07:29 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by BrianCandler:
http://wiki.apache.org/couchdb/View_collation

------------------------------------------------------------------------------
  
  Comparison of strings is done using [http://site.icu-project.org/ ICU] which implements
the [http://www.unicode.org/unicode/reports/tr10/ Unicode Collation Algorithm]. This can give
surprising results if you were expecting ASCII collation. Note that:
  
- * All symbols sort before numbers and letters (even the "high" symbols like tilde, 0x7e)
+  * All symbols sort before numbers and letters (even the "high" symbols like tilde, 0x7e)
- * Differing sequences of letters are compared without regard to case, so a < aa but also
A < aa
+  * Differing sequences of letters are compared without regard to case, so a < aa but
also A < aa
- * Identical sequences of letters are compared with regard to case, with lowercase *before*
uppercase, so a < A
+  * Identical sequences of letters are compared with regard to case, with lowercase *before*
uppercase, so a < A
  
  You can demonstrate the collation sequence like this:
  

Mime
View raw message