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:
fiddlosopher 2009-11-21 06:22:02 +00:00
parent 14a25b287c
commit db01801199

View file

@ -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)