From e3ea078b269b04e7ae3eabb500ef55aae791f509 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 21 Feb 2010 16:47:33 +0000 Subject: Set LANG to a UTF-8 locale in RunTests.hs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1844 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/RunTests.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/RunTests.hs b/tests/RunTests.hs index 6dc0d6e18..e57d8ddd9 100644 --- a/tests/RunTests.hs +++ b/tests/RunTests.hs @@ -153,7 +153,8 @@ runTest testname opts inp norm = do let normPath = norm hFlush stdout -- Note: COLUMNS must be set for markdown table reader - ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80")]) Nothing (Just hOut) (Just stderr) + -- and we need LANG set for ghc 6.12 + ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80"),("LANG","en_US.UTF-8")]) Nothing (Just hOut) (Just stderr) ec <- waitForProcess ph result <- if ec == ExitSuccess then do -- cgit v1.2.3