aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/PDF.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-12-17 11:29:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-17 11:59:52 -0800
commit80728c8b3122db1d7caedcce66310fb1924f5a91 (patch)
tree7002d2137827bea8a93fc1dc6d488e1a7895e734 /src/Text/Pandoc/PDF.hs
parent01b89d87f4d69a3d5a9cefbb6ff3f5808531e648 (diff)
downloadpandoc-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.hs2
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