Hacker News new | ask | show | jobs
by zahlman 616 days ago
I'm not seeing anything in the Swift documentation about strings carrying language metadata, either, though?
1 comments

This lowercase function takes a locale argument https://developer.apple.com/documentation/foundation/nsstrin...

It looks like an old NSString method that's available in both Obj-C and Swift.

The casefold function is even older than that. https://developer.apple.com/documentation/foundation/nsstrin... Its documentation specifically includes a discussion of the Turkish İ/I issue.