summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruu1101 <uu1101@gmail.com>2013-06-14 01:02:14 +0200
committeruu1101 <uu1101@gmail.com>2013-06-14 01:02:14 +0200
commita1e778d1e56899878f83e52c7de1070bb9d531ab (patch)
tree564c9628791196d15e8e364d7d1ab098b2b5811e /src
parentcf501485b1325c91f9f6735e8d59248755d2a53c (diff)
downloadhakyll-a1e778d1e56899878f83e52c7de1070bb9d531ab.tar.gz
Set handle encoding as per locale
Diffstat (limited to 'src')
-rw-r--r--src/Hakyll/Core/UnixFilter.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Hakyll/Core/UnixFilter.hs b/src/Hakyll/Core/UnixFilter.hs
index 3e2d80c..34b2ecb 100644
--- a/src/Hakyll/Core/UnixFilter.hs
+++ b/src/Hakyll/Core/UnixFilter.hs
@@ -129,6 +129,7 @@ unixFilterIO writer reader programName args input = do
-- Read from stderr
_ <- forkIO $ do
+ hSetEncoding errh localeEncoding
err <- hGetContents errh
_ <- deepseq err (return err)
hClose errh