Am 11.05.2010 22:41, schrieb Andreas Höschler: > Hi all, > >> I have set up a new system (Solaris/GNustep). Users want numbers to be >> formated with , for the decimal separator and I again have no clue how >> and where to set that. I have followed the trace up to >> >> NSScanner::locale >> loc = [[NSUserDefaults standardUserDefaults] >> dictionaryRepresentation]; >> >> loc containing a corresponding value for the key NSDecimalSeparator. I >> have just not found out how this is deternimed and set? Which unix >> environment variables is GNUstep bas echecking to set a default for >> this key? > > Found it, at least a solution I can live with. > > defaults write NSGlobalDomain NSDecimalSeparator ","
On systems that have locale.h installed we use localeconv() to get this information. Please see GSLocale.m for details. _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
