> On Nov 28, 2016, at 10:36 AM, Andreas Falkenhahn <andr...@falkenhahn.com> > wrote: > > (I'm sorry, but this mail isn't really about Cocoa but I've checked all > the lists hosted on lists.apple.com and I haven't found a list which > is suitable so I'll try here.) > > I need to convert a char array that contains decomposed UTF-8 characters > (as used by HFS) into a precomposed UTF-8 char array. How can I do that on > iOS please? > > On macOS I can simply use CreateTextEncoding(), TECCreateConverter(), > and TECConvertText() but apparently these APIs aren't available on iOS.
NSString should have what you need – it has methods to obtain a corresponding NSString in forms C/D/KC/KD. Look for decomposed/precomposed properties. > > Any ideas? > > -- > Best regards, > Andreas Falkenhahn mailto:andr...@falkenhahn.com > > _______________________________________________ > > 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/david.duncan%40apple.com > > This email sent to david.dun...@apple.com -- David Duncan _______________________________________________ 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