Re: Odd display of percent character

2012-02-15 Thread Uli Kusterer
On 14.02.2012, at 17:53, Jens Alfke wrote: > On Feb 14, 2012, at 5:38 AM, Uli Kusterer wrote: >> In addition to this, whenever I do not actually need a format in a case like >> NSRunAlertPanel or whatever, I set the string to @"%@" and specify the >> actual string at the end in the ... section. T

Re: Odd display of percent character

2012-02-14 Thread Jens Alfke
On Feb 14, 2012, at 5:38 AM, Uli Kusterer wrote: > In addition to this, whenever I do not actually need a format in a case like > NSRunAlertPanel or whatever, I set the string to @"%@" and specify the actual > string at the end in the ... section. That way, I don't have to tell my > localizers

Re: Odd display of percent character

2012-02-14 Thread Uli Kusterer
On 13.02.2012, at 20:19, Keary Suska wrote: > % is a format specifier, so you must escape them (by doubling them, "%%") if > you are using it as a format string, even if what follows the % is not a > known specifier. In your case, "o" means show an unsigned int in octal and > the space after the

Re: Odd display of percent character

2012-02-13 Thread Michael Babin
On Feb 13, 2012, at 11:04 AM, Chris Paveglio wrote: > I'm having an issue with the percent character being displayed as random > numbers in an NSAlertPanel (modal). My app has an ivar, "fullString", > including the usual property/synthesize getters and setters, there is nothing > special about

Re: Odd display of percent character

2012-02-13 Thread Chris Paveglio
eholder. Thanks Kyle, Ken and Keary! - Original Message - From: Kyle Sluder To: Chris Paveglio Cc: Cocoa Dev List Sent: Monday, February 13, 2012 1:22 PM Subject: Re: Odd display of percent character On Mon, Feb 13, 2012 at 9:04 AM, Chris Paveglio wrote: > I'm having an issue

Re: Odd display of percent character

2012-02-13 Thread Keary Suska
On Feb 13, 2012, at 10:04 AM, Chris Paveglio wrote: > I'm having an issue with the percent character being displayed as random > numbers in an NSAlertPanel (modal). My app has an ivar, "fullString", > including the usual property/synthesize getters and setters, there is nothing > special about

Re: Odd display of percent character

2012-02-13 Thread Ken Thomases
On Feb 13, 2012, at 11:04 AM, Chris Paveglio wrote: > I'm having an issue with the percent character being displayed as random > numbers in an NSAlertPanel (modal). My app has an ivar, "fullString", > including the usual property/synthesize getters and setters, there is nothing > special about

Re: Odd display of percent character

2012-02-13 Thread Kyle Sluder
On Mon, Feb 13, 2012 at 9:04 AM, Chris Paveglio wrote: > I'm having an issue with the percent character being displayed as random > numbers in an NSAlertPanel (modal). My app has an ivar, "fullString", > including the usual property/synthesize getters and setters, there is nothing > special abo

Odd display of percent character

2012-02-13 Thread Chris Paveglio
I'm having an issue with the percent character being displayed as random numbers in an NSAlertPanel (modal). My app has an ivar, "fullString", including the usual property/synthesize getters and setters, there is nothing special about it. fullString is bound to an NSTextField where a user might