aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-pandoc.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-pandoc.hs b/tests/test-pandoc.hs
index 968f31df6..24b7a8261 100644
--- a/tests/test-pandoc.hs
+++ b/tests/test-pandoc.hs
@@ -3,7 +3,7 @@
module Main where
import Test.Framework
-
+import GHC.IO.Encoding
import qualified Tests.Old
import qualified Tests.Readers.LaTeX
import qualified Tests.Readers.Markdown
@@ -34,4 +34,6 @@ tests = [ testGroup "Old" Tests.Old.tests
]
main :: IO ()
-main = inDirectory "tests" $ defaultMain tests
+main = do
+ setLocaleEncoding utf8
+ inDirectory "tests" $ defaultMain tests