Re: Where is my bicycle?
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