Re: using UTF-32 in NSString.
Re: using UTF-32 in NSString.
- Subject: Re: using UTF-32 in NSString.
- From: Georg Seifert <email@hidden>
- Date: Tue, 29 Jun 2010 00:17:23 +0200
> You can do something like this:
> UniChar characters[2];
> CFIndex length = (CFStringGetSurrogatePairForLongCharacter(0x1ABCD, characters) ? 2 : 1);
>
> CFStringCreateWithCharacters(NULL, characters, length);
>
> Aki
Is there anything like this in Leopard. This functions are new in Snow Leopard.
Thanks for all the answers.
Georg_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden