[XForms] dot vs. comma (0.88 vs. 1.0.x)
Jens Thoms Toerring
Jens.Toerring at physik.fu-berlin.de
Fri May 28 17:52:13 EDT 2004
On Fri, May 28, 2004 at 09:06:11PM +0200, Bernd Hahnebach wrote:
> added to main.c:
>
> #include <locale.h>
>
> and directly under: fl_initialize(&argc,argv,version,0,0);
> setlocale( LC_NUMERIC, "C" );
>
> XStab compiles but it still does commas instead of dots.
>
> I did the other way around just to have success. Using
> LANG=en_US before starting XStab works. Only dots dots dots :-)
>
> I don't want to bother you, but I still would like to find a solution.
In what context do the commata (or commas or what's the correct
plural of comma in English?) appear instead of dots? If you have
a look at the man page for setlocale() you'll see that there
several other categories you could set beside LC_NUMERIC (which
I set exclusively because I don't care about the rest). Perhaps
you get better results when you use instead
setlocale( LC_ALL, "C" );
That should take care of all categories and hopefully get rid of
your problem.
Regards, Jens
--
\ Jens Thoms Toerring ___ Jens.Toerring at physik.fu-berlin.de
\__________________________ http://www.toerring.de
More information about the Xforms
mailing list