http://www.w3.org/Bugs/Public/show_bug.cgi?id=9903

           Summary: Need to define specification and use of collations for
                    string sorting
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Indexed Database API
        AssignedTo: nikunj.me...@oracle.com
        ReportedBy: pablo.cas...@microsoft.com
         QAContact: member-webapi-...@w3.org
                CC: m...@w3.org, public-webapps@w3.org


Currently the spec does not define what collation algorithm should be used for
string sorting. In order to properly support international applications we need
to define both how implementations should use collations and how the API
exposes options for the developer to choose a collation for a certain scope
(database, index, etc.)

Original WG message for context:

From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On
Behalf Of Mikeal Rogers
Sent: Wednesday, June 09, 2010 2:42 PM
To: Webapps WG
Subject: [IndexDB] Collation Algorithm?

One of the things I noticed that seems to be missing from the IndexDB
specification is the collation algorithm used for sorting the index
keys.

There are lots of collation differences between databases, if left
unspecified I'm afraid this would negatively affect interoperability
between IndexDB implementations.

CouchDB has a good collation specification for rich keys (any JSON
type) and defers to the Unicode Collation Algorithm once it hits
string comparisons. This might be a good starting point.

http://wiki.apache.org/couchdb/View_collation#Collation_Specification

http://www.unicode.org/reports/tr10/

-Mikeal

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to