the default encoding is picked up from the locale, but Rails sets it to UTF-8, which impacts File IO.
-
-
you can do this tho. Refinements are like traits in Rust: you gotta import them with `using`.pic.twitter.com/CKaVMybHgY
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I don’t think == should do normalization anyway, if only because there’s multiple variations of it to pick from
-
The Swift devs strongly disagree; they just use the "empty" locale. I'm still feelin' this decision out.
-
afaict because such a comp requires allocation (in general), systems code needs a different ==...
-
I think it's a mistake. Consider sorting: if you normalize, lose stability for cases that aren't identical
-
why would you lose stability? Is there a non-total ordering 3 strings can make?
-
imagine a Set of three different but unicode-equivalent strings. copy them into another set. sort/compare
-
Swift literally says those aren't different strings; it is a set of one string.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.