mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 11:16:33 +00:00
Use utf8-string IO in markdown2pdf.hs.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1622 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
+4
-2
@@ -6,13 +6,15 @@ import Data.Maybe (isNothing)
|
||||
import Control.Monad (when, unless, guard)
|
||||
import Control.Exception (tryJust, bracket)
|
||||
|
||||
import System.IO (stderr, hPutStrLn)
|
||||
import System.IO (stderr)
|
||||
import System.IO.Error (isDoesNotExistError)
|
||||
import System.Environment ( getArgs, getProgName )
|
||||
import Prelude hiding ( putStr, putStrLn, writeFile, readFile, getContents )
|
||||
import System.IO.UTF8
|
||||
import System.Exit (ExitCode (..), exitWith)
|
||||
import System.FilePath
|
||||
import System.Directory
|
||||
import System.Process (readProcessWithExitCode)
|
||||
import System.Environment (getArgs, getProgName)
|
||||
|
||||
|
||||
run :: FilePath -> [String] -> IO (Either String String)
|
||||
|
||||
Reference in New Issue
Block a user