summaryrefslogtreecommitdiff
path: root/thumbnailer/gnome-thumbnailer-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'thumbnailer/gnome-thumbnailer-skeleton.c')
-rw-r--r--thumbnailer/gnome-thumbnailer-skeleton.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/thumbnailer/gnome-thumbnailer-skeleton.c b/thumbnailer/gnome-thumbnailer-skeleton.c
index 75c0f9c10..b45192645 100644
--- a/thumbnailer/gnome-thumbnailer-skeleton.c
+++ b/thumbnailer/gnome-thumbnailer-skeleton.c
@@ -24,6 +24,7 @@
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <locale.h>
#include <math.h>
#include <stdlib.h>
@@ -238,6 +239,8 @@ int main (int argc, char **argv)
gsize length;
#endif
+ setlocale (LC_ALL, "");
+
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init ();
#endif