• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Conflicting encodings issue in a Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Conflicting encodings issue in a Cocoa app
      • From: "Ewan Delanoy" <email@hidden>
References: 
 >Conflicting encodings issue in a Cocoa app (From: "Ewan Delanoy" <email@hidden>)

  • Prev by Date: Conflicting encodings issue in a Cocoa app
  • Next by Date: Re: Binding NSButton enabled state
  • Previous by thread: Conflicting encodings issue in a Cocoa app
  • Next by thread: Re: Conflicting encodings issue in a Cocoa app
  • Index(es):
    • Date
    • Thread