• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: using UTF-32 in NSString.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: using UTF-32 in NSString.
      • From: Aki Inoue <email@hidden>
References: 
 >using UTF-32 in NSString. (From: Georg Seifert <email@hidden>)
 >Re: using UTF-32 in NSString. (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: inference of block return type
  • Next by Date: Re: inference of block return type
  • Previous by thread: Re: using UTF-32 in NSString.
  • Next by thread: Re: using UTF-32 in NSString.
  • Index(es):
    • Date
    • Thread