diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-12-17 11:29:27 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-12-17 11:59:52 -0800 |
commit | 80728c8b3122db1d7caedcce66310fb1924f5a91 (patch) | |
tree | 7002d2137827bea8a93fc1dc6d488e1a7895e734 /src/Text/Pandoc/PDF.hs | |
parent | 01b89d87f4d69a3d5a9cefbb6ff3f5808531e648 (diff) | |
download | pandoc-80728c8b3122db1d7caedcce66310fb1924f5a91.tar.gz |
PDF: Ensure UTF8 when printing source in --verbose mode.
This may fix #5997.
Diffstat (limited to 'src/Text/Pandoc/PDF.hs')
-rw-r--r-- | src/Text/Pandoc/PDF.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs index 1d307cdd4..e72a01819 100644 --- a/src/Text/Pandoc/PDF.hs +++ b/src/Text/Pandoc/PDF.hs @@ -507,7 +507,7 @@ showVerboseInfo mbTmpDir program programArgs env source = do mapM_ print env putStr "\n" putStrLn $ "[makePDF] Source:" - putStrLn source + UTF8.putStrLn source handlePDFProgramNotFound :: String -> IE.IOError -> IO a handlePDFProgramNotFound program e |