On Apr 6, 2015, at 11:49 AM, Sean McBride <s...@rogue-research.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to