fixed #927 issue
authorAlexander Shishkov <no@email>
Wed, 8 Feb 2012 15:29:07 +0000 (15:29 +0000)
committerAlexander Shishkov <no@email>
Wed, 8 Feb 2012 15:29:07 +0000 (15:29 +0000)
modules/highgui/src/window_gtk.cpp

index b5b6c0d..152bc07 100644 (file)
@@ -465,6 +465,7 @@ CV_IMPL int cvInitSystem( int argc, char** argv )
         hg_windows = 0;
 
         gtk_init( &argc, &argv );
+        setlocale(LC_NUMERIC, "en_US.utf8");
 
         #ifdef HAVE_OPENGL
             gtk_gl_init(&argc, &argv);