On Wed, 24 Nov 2010 10:14:29 -0800, Dave DeLong said:

>You can also do:
>
>NSString * snowflake = @"\u2744";

You can also put the snowflake character itself within the @"" (which I
won't attempt here, because either my mail client or the listserve will
surely destroy it).  Just be sure your source file is encoded as UTF8,
which is what gcc assumes.  Otherwise pass  -finput-charset to gcc to
specify UTF16 or whatever encoding your source file is.  However, I
think this all requires 10.5 or later.

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

Reply via email to