Re: Character encoding of C-string runtime functions?
Re: Character encoding of C-string runtime functions?
- Subject: Re: Character encoding of C-string runtime functions?
- From: Rick Mann <email@hidden>
- Date: Tue, 11 Jun 2013 14:36:39 -0700
On Jun 11, 2013, at 14:32 , Greg Parker <email@hidden> wrote:
> Formally unspecified. It's possible to create a selector or class at runtime with arbitrary zero-terminated bytes and the runtime won't care.
>
> In practice you should use UTF-8. That's what the compiler does.
Thanks. That's what I've always done, but I wondered, since by default Xcode used to make files UTF-16. At least, it did the strings file. Now it seems my files are all UTF-8, so I would imagine that would (should) drive the encoding.
--
Rick
_______________________________________________
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