> On Apr 27, 2018, at 6:29 AM, Andreas Falkenhahn <andr...@falkenhahn.com> > wrote: > > No big deal... just have Cocoa convert your string to precomposed > or decomposed UTF-8.
Just use NSString.fileSystemRepresentation, and -[NSString initWithFileSystemRepresentation:] to go the other way. They are guaranteed to do the proper encoding/decoding. (There are CF equivalents too.) —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com