diff --git a/wand/mogrify.c b/wand/mogrify.c
index 84bc5ee..236837e 100644
--- a/wand/mogrify.c
+++ b/wand/mogrify.c
@@ -126,6 +126,8 @@
   unsigned long
     iterations;
 
+  (void) setlocale(LC_ALL,"");
+  (void) setlocale(LC_NUMERIC,"C");
   concurrent=MagickFalse;
   duration=(-1.0);
   iterations=1;