discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locale dependent printf


From: Richard Frith-Macdonald
Subject: Re: locale dependent printf
Date: Thu, 26 Apr 2001 13:58:39 +0100

On Thursday, April 26, 2001, at 01:05 PM, Michael Scheibler wrote:


I am using printf to print a float value and I am getting different results
in an application using GNUstep/ObjC and Java (not JIGS) (result: 9,5)
compared to a dummy C application which only prints a float (result: 9.5).
Is it possible that GNUstep sets some locale information which affects
printf's behaviour?

GNUstep sets the locale from the standard environment variables using
setlocale(LC_ALL, "").  See the setlocale() man page for details on
what environment variables are used.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]