Re: NSString/NSFont/Dingbats and the SnowFlake symbol
Re: NSString/NSFont/Dingbats and the SnowFlake symbol
- Subject: Re: NSString/NSFont/Dingbats and the SnowFlake symbol
- From: "Sean McBride" <email@hidden>
- Date: Thu, 25 Nov 2010 14:05:34 -0500
- Organization: Rogue Research Inc.
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 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