Avatar
norio_nomura 1/25/2018 4:22 AM
ICU依存云々は僕の記憶がどこかで書き換わっていたぽい。 https://github.com/apple/swift/pull/8769#issuecomment-294310129 から引用。 > @dabrahams Sorry, I didn't read the string manifesto. > Hm, it seems that the string manifesto says "Swift string sorting will not be compatible with > Foundation sort order". > Is that correct with that understanding? Yes, non-localized String sorting will not work the same way in Swift as it does in Foundation. We intend to try very hard to keep localized sorting in sync, though. なんか詳細忘れちゃったな…
This PR changes to use default collator instead of root collator. http://icu-project.org/apiref/icu4c/ucol_8h.html said about ucol_open()'s locale parameter as: loc The locale containing the requ...
4:25 AM
Foundationの挙動はUnicodeに一部従ってないから、SwiftのStringはUnicodeに従った挙動にすべきとString Manifestoでは言っていて、つまりString Manifestoが実装されるとFoundationとStdlibの文字列比較の挙動は違ってくる。とかだったかしら?