Bug #223

libc needs multibyte locale support for collation

Added by Garrett D'Amore over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2010-09-17
Priority:High Due date:
Assignee:Garrett D'Amore % Done:

100%

Category:- Spent time: 24.00 hours
Target version:- Estimated time:8.00 hours
Difficulty:Medium Tags:needs-triage

Description

So multibyte locales (like UTF-8) require additional support for collating that is missing from libc.

History

Updated by Garrett D'Amore over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

So I've done quite a bit of work to implement this... I worked from code which Apple released to do much of this at opensource.apple.com (notably without even adding an Apple copyright notice!), and did a lot of hacking on my own (particularly in the lex and yacc grammars that used to build the databases.

This work includes a lot of support in libc that may ultimately be useful for the work involving localedef per POSIX, which includes additional supported features (e.g. for languages which change the sort order based on sequences at the end of the string rather than the beginning! Go figure!)

However, I have not attempted to support the localedef syntax, or those features, in the mkcollate utility. Ultimately, that project will come later.

Updated by Garrett D'Amore over 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

This is now fixed.

Also available in: Atom PDF