aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-02-21 16:47:33 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-02-21 16:47:33 +0000
commite3ea078b269b04e7ae3eabb500ef55aae791f509 (patch)
treea2cba990c3e16ea4e6fce6bf741219ac291e3e42
parentb165e4c50cdc71e639d634f2a8c3ab2c53a13112 (diff)
downloadpandoc-e3ea078b269b04e7ae3eabb500ef55aae791f509.tar.gz
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
-rw-r--r--tests/RunTests.hs3
1 files changed, 2 insertions, 1 deletions
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