• 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: Where is my bicycle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is my bicycle?


  • Subject: Re: Where is my bicycle?
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 06 Apr 2015 20:42:55 +0000

On Apr 6, 2015, at 12:29 , Greg Parker <email@hidden> wrote:
>
> my understanding is that when Cocoa says "character" it usually means "UTF-16 code unit". @"🚲".length == 2, for example. Cocoa's string API designed when Unicode was still a true 16-bit character set.

I would have said so, too, except that NSCharacterSet has this ‘longCharacterIsMember: (UTF32Char)’ API, which seems inexplicable if the parameter is a UTF-16 code unit, since that’s what ‘characterIsMember: (unichar)’ is apparently for.



_______________________________________________

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: Where is my bicycle?
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Where is my bicycle? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Where is my bicycle? (From: Quincey Morris <email@hidden>)
 >Re: Where is my bicycle? (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Navigationbar doesn't work in iOS 7.1 / 8 with XCODE 6.2
  • Next by Date: Re: Where is my bicycle?
  • Previous by thread: Re: Where is my bicycle?
  • Next by thread: Re: Where is my bicycle?
  • Index(es):
    • Date
    • Thread