On Mon, Mar 3, 2014, at 09:54 AM, Daniel DeCovnick wrote:
> Given that, UTF8Name actually sounds fine. 

No it doesn't. There's nothing in Jonathan's links to suggest that the
CLS specifies that identifiers are stored in UTF-8 encoding. In fact, it
implies otherwise:

"""Before you compare identifiers, you should filter out formatting
codes and convert the identifiers to Unicode Normalization Form C,
because a single character can be represented by multiple UTF-16-encoded
code units. """

But Jonathan, why are you even exposing raw C pointer access to the
identifiers in the first place? Why wouldn't you convert them to
NSStrings and only expose them to Objective-C code that way?

--Kyle Sluder
_______________________________________________

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