Re: ASL & Unicode in Xcode's Console
Re: ASL & Unicode in Xcode's Console
- Subject: Re: ASL & Unicode in Xcode's Console
- From: "Sean McBride" <email@hidden>
- Date: Wed, 29 Oct 2008 10:16:24 -0400
- Organization: Rogue Research
On 10/29/08 1:27 AM, Jason Coco said:
>>>> That is no longer necessary in 10.5 / Xcode 3. You can use
>>>> Unicode in
>>>> string literals in Objective-C.
>>>
>>> Why do you say this? I thought that I may have missed something,
>>> but looking
>>> back through all the documentation, all the warnings about only
>>> including 7-bit ASCII
>>> characters in string literals still exist... even in the most
>>> recent updated documentation.
>>
>> ISTR seeing this in the release notes somewhere, but can't find it
>> now either. Anyway, see
>>
>> http://lists.apple.com/archives/Cocoa-dev/2008/Apr/msg01885.html
>
>Well, I still can't find anything that says this other than somebody's
>statement on a mailing list...
Aki's not just a 'somebody' but a member of Apple's Cocoa team. There
are several posts in the archives about this being supported now. IIRC,
it only works in .m/.mm files, not .c/.cpp.
>the three
>most recently updated documents that apple put out dealing with
>strings all specifically say that string
>literals (CFStringRef, NSConstantString and c style string constants)
>all must be 7-bit ascii encoded
Please file a bug against the docs.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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