fix locale handling
unset LC_ALL in MainGui like it was done in MainCmd in f32caef40c
This commit is contained in:
parent
f376ce1310
commit
be823acda2
|
@ -191,10 +191,12 @@ int main( int argc, char ** argv )
|
||||||
QFile::setDecodingFunction(myDecoderFunc);
|
QFile::setDecodingFunction(myDecoderFunc);
|
||||||
// Make sure that we use '.' as decimal point. See also
|
// Make sure that we use '.' as decimal point. See also
|
||||||
// http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559846
|
// http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559846
|
||||||
|
putenv("LC_ALL=");
|
||||||
putenv("LC_NUMERIC=C");
|
putenv("LC_NUMERIC=C");
|
||||||
putenv("PYTHONPATH=");
|
putenv("PYTHONPATH=");
|
||||||
#elif defined(FC_OS_MACOSX)
|
#elif defined(FC_OS_MACOSX)
|
||||||
(void)QLocale::system();
|
(void)QLocale::system();
|
||||||
|
putenv("LC_ALL=");
|
||||||
putenv("LC_NUMERIC=C");
|
putenv("LC_NUMERIC=C");
|
||||||
putenv("PYTHONPATH=");
|
putenv("PYTHONPATH=");
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user