Re: Conflicting encodings issue in a Cocoa app
Re: Conflicting encodings issue in a Cocoa app
- Subject: Re: Conflicting encodings issue in a Cocoa app
- From: glenn andreas <email@hidden>
- Date: Mon, 21 Apr 2008 08:38:39 -0500
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@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build,
mutate, evolve, animate
_______________________________________________
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