diff --git a/site.hs b/site.hs index df0b063..daafff6 100644 --- a/site.hs +++ b/site.hs @@ -10,6 +10,7 @@ Portability : POSIX import Data.Monoid (mappend) import Hakyll import System.FilePath +import qualified GHC.IO.Encoding as E -- | Configuration for the RSS and ATOM feeds. feedConfiguration :: FeedConfiguration @@ -23,7 +24,9 @@ feedConfiguration = FeedConfiguration -- | Main entry point for generating all code via Hakyll main :: IO () -main = hakyll $ do +main = do + E.setLocaleEncoding E.utf8 + hakyll $ do -- Build up tags tags <- buildTags "posts/*" (fromCapture "tags/*.html") let postCtxTags = postCtxWithTags tags