2009-12-21, 20:43
Line 66 of xbmc.cpp does exactly the same thing, just as a cpp function:
setlocale(LC_NUMERIC, "C");
No idea why that should fail to be honest. If you are fond of playing around a bit, you could add the following right after the setlocale line and see if it outputs anything to your console (run xbmc from console):
printf ("LC_NUMERIC is: %s\n", setlocale(LC_NUMERIC,NULL) );
(this is untested though, if it doesn't compile blame me not being a dev ).
setlocale(LC_NUMERIC, "C");
No idea why that should fail to be honest. If you are fond of playing around a bit, you could add the following right after the setlocale line and see if it outputs anything to your console (run xbmc from console):
printf ("LC_NUMERIC is: %s\n", setlocale(LC_NUMERIC,NULL) );
(this is untested though, if it doesn't compile blame me not being a dev ).