On Apr 21, 2008, at 8:35 AM, Ewan Delanoy wrote:


 [theButton setTitle:[NSString stringWithFormat:@"Put a n with a
tilde,like this : %c",0X00F1]];

Unfortunately, at runtime the exotic character is displayed incorrectly:
it appears as
a "breve" (Unicode character number 02D8 instead of 00F1).


You want %C, not %c (%c is "character", while %C is unicode character).

Glenn Andreas                      [EMAIL PROTECTED]
 <http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build, mutate, evolve, animate



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to