diff --git a/imageapi_imagemagick.module b/imageapi_imagemagick.module
index 3171d0b..608aef1 100644
--- a/imageapi_imagemagick.module
+++ b/imageapi_imagemagick.module
@@ -1,4 +1,4 @@
-<?php  // $Id$
+<?php
 
 /**
  * @file
@@ -149,6 +149,7 @@
   // To make use of ImageMagick 6's parenthetical command grouping we need to make
   // the $source image the first parameter and $dest the last.
   // See http://www.imagemagick.org/Usage/basics/#cmdline for more info.
+  setlocale(LC_CTYPE, "en_US.UTF-8");
   $command = escapeshellarg($source) .' '. implode(' ', $args) .' '. escapeshellarg($dest);
 
   if (0 != _imageapi_imagemagick_convert_exec($command, $output, $errors)) {
