[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Localized string compare
From: |
Jens Alfke |
Subject: |
Localized string compare |
Date: |
Thu, 1 Mar 2012 13:47:56 -0800 |
Looks like localized string comparison (-[NSString localizedCompare:], et al)
isn’t implemented — NSString.m has various reminder comments like “Should
implement full POSIX.2 collate” and "FIXME: This does only a normal compare,
ignoring locale”.
Unfortunately Unicode collation is kind of important for my app, as its data
interchange format relies on a single cross-platform sort order for strings.
How hard would it be to implement this? Does it mean calling into the scary
innards of ICU, or is there some higher level collation API available?
—Jens
smime.p7s
Description: S/MIME cryptographic signature
- Localized string compare,
Jens Alfke <=