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
This commit is contained in:
parent
b165e4c50c
commit
e3ea078b26
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue