diff --git a/arbtt.cabal b/arbtt.cabal
--- a/arbtt.cabal
+++ b/arbtt.cabal
@@ -1,5 +1,5 @@
 name:               arbtt
-version:            0.1.4
+version:            0.1.5
 license:            GPL
 license-file:       LICENSE
 category:           Desktop
@@ -41,7 +41,7 @@
     main-is:            stats-main.hs
     hs-source-dirs:     src
     build-depends:
-        base == 4.*, parsec == 2.*, containers, pcre-light, tabular
+        base == 4.*, parsec == 2.*, containers, pcre-light, tabular, setlocale
     other-modules:
         Data
         Categorize
diff --git a/src/capture-main.hs b/src/capture-main.hs
--- a/src/capture-main.hs
+++ b/src/capture-main.hs
@@ -12,7 +12,7 @@
 import System.Posix.IO
 import System.IO.Error
 import System.Exit
-
+import System.Locale.SetLocale
 
 -- | sampleRate in seconds
 sampleRate = 60 
@@ -23,6 +23,7 @@
     setLock fd (WriteLock, AbsoluteSeek, 0, 0)
 
 main = do
+    setLocale LC_ALL (Just "") 
     unless compiledWithXScreenSaver $
     	hPutStrLn stderr "arbtt [Warning]: X11 was compiled without support for XScreenSaver"
     dir <- getAppUserDataDirectory "arbtt"
