Monthly Archives: July 2009

Locale-sensitive collations in Storage

Storage on the Mozilla platform now supports locale-sensitive collations.
SQLite provides a few simple built-in collations: BINARY, NOCASE, and RTRIM, but as the first suggests they all use memcmp and ignore text encoding and the user’s locale. If you want to show respect to your user and the vagaries of her language’s collating conventions, you [...]