From c761996a28a2582878c4f57046da45dceef23e61 Mon Sep 17 00:00:00 2001 From: Alexander Shishkov Date: Wed, 8 Feb 2012 15:29:07 +0000 Subject: [PATCH] fixed #927 issue --- modules/highgui/src/window_gtk.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/highgui/src/window_gtk.cpp b/modules/highgui/src/window_gtk.cpp index b5b6c0dc7..152bc07e4 100644 --- a/modules/highgui/src/window_gtk.cpp +++ b/modules/highgui/src/window_gtk.cpp @@ -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);