There is some documentation in the CoreFoundation part for all CFStringRef formatting, which applies here.
http://developer.apple.com/Mac/library/documentation/CoreFoundation/Conceptual/CFStrings/formatSpecifiers.html#//apple_ref/doc/uid/TP40004265-SW1 laurent On Tuesday, April 20, 2010, at 03:17AM, "Aki Inoue" <a...@apple.com> wrote: >\uxxxx and \UXXXXXXXX formats (or universal character names ) are part of C99 >standard. > >Aki > >On Apr 19, 2010, at 6:11 PM, Matt Neuburg wrote: > >> >> On Apr 19, 2010, at 6:02 PM, Kyle Sluder wrote: >> >>> On Mon, Apr 19, 2010 at 5:44 PM, Matt Neuburg <m...@tidbits.com> wrote: >>>> Supposing you were a complete C / Objective-C beginner. How would you find >>>> out what escape sequences are permitted in an NSString literal (that is, >>>> with @"...")? For example, K&R doesn't know about \uNNNN (backslash-u >>>> followed by four hex digits), but of course that is now legal (though it >>>> was >>>> not always). What documentation would tell the user about this? Thx - m. >>> >>> I use the printf(3) manpage. >> >> That's good on format-strings and stuff you can do with %, but that isn't >> what I'm asking about. I'm asking about straightforward NSString literals, >> such as @"this\nsort\tof\u2022thing". You can learn about the \n and \t from >> K&R, but how would you learn about >> \u2022?_______________________________________________ >> >> 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: >> http://lists.apple.com/mailman/options/cocoa-dev/aki%40apple.com >> >> This email sent to a...@apple.com > >_______________________________________________ > >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: >http://lists.apple.com/mailman/options/cocoa-dev/lcerveau%40me.com > >This email sent to lcerv...@me.com > > _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com