From a1e778d1e56899878f83e52c7de1070bb9d531ab Mon Sep 17 00:00:00 2001 From: uu1101 Date: Fri, 14 Jun 2013 01:02:14 +0200 Subject: Set handle encoding as per locale --- src/Hakyll/Core/UnixFilter.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3