libc needs multibyte locale support for collation
So multibyte locales (like UTF-8) require additional support for collating that is missing from libc.
Updated by Garrett D'Amore over 10 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.