• 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: Charles Srstka <email@hidden>
  • Date: Mon, 06 Apr 2015 11:57:24 -0500

On Apr 6, 2015, at 11:49 AM, Sean McBride <email@hidden> wrote:
>
> On Mon, 6 Apr 2015 11:36:38 -0500, Charles Srstka said:
>
>> Objective-C doesn’t support Unicode in source files (although Swift does).
>
> Yes it does, and it has for many years too.

Huh, I just checked the documentation, and you’re right, they appear to have changed that at some point. It definitely used to say in there that using Unicode in a source file was officially verboten, although it usually accidentally worked anyway.

The problem, then, is likely the fact that NSCharacterSet considers a “character” simply as a UTF-16 code point, rather than a true Unicode character as Swift does.

Sorry for the noise.

Charles


_______________________________________________

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


References: 
 >Where is my bicycle? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Where is my bicycle? (From: Charles Srstka <email@hidden>)
 >Re: Where is my bicycle? (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Do NSStackView's actually work in a NSTableView?
  • Next by Date: Re: iOS 7/8 sandboxing question. Path to Documents folder changing on every app launch?
  • Previous by thread: Re: Where is my bicycle?
  • Next by thread: Re: Where is my bicycle?
  • Index(es):
    • Date
    • Thread