diff --git a/app/Main.hs b/app/Main.hs index 2eb12c6..323d271 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -4,9 +4,10 @@ import Foliage.CmdBuild import Foliage.CmdCreateKeys import Foliage.CmdImportIndex import Foliage.Options +import Main.Utf8 (withUtf8) main :: IO () -main = do +main = withUtf8 $ do putStrLn "🌿 Foliage" parseCommand >>= \case CreateKeys path -> cmdCreateKeys path diff --git a/foliage.cabal b/foliage.cabal index 2114ff3..6b76200 100644 --- a/foliage.cabal +++ b/foliage.cabal @@ -51,4 +51,5 @@ executable foliage time >=1.9.3 && <1.13, time-compat >=1.9.6.1 && <1.10, tomland >=1.3.3.1 && <1.4, + with-utf8 >=1.0.2.3 && <1.1, zlib >=0.6.2.3 && <0.7