@@ -36,13 +36,14 @@ module Text.Pandoc.UTF8 ( readFile
36 , hPutStrLn
36 , hPutStrLn
37 , hGetContents
37 , hGetContents
38 , encodePath
38 , encodePath
43#if MIN_VERSION_base(4,4,0)
44#if MIN_VERSION_base(4,4,0)
45−import Codec.Binary.UTF8.String (encodeString)
46+import Codec.Binary.UTF8.String (encodeString, decodeString)
48#if MIN_VERSION_base(4,2,0)
49#if MIN_VERSION_base(4,2,0)
@@ -121,8 +122,11 @@ hPutStrLn h s = hPutStr h (s ++ "\n")
123encodePath :: FilePath -> FilePath
124encodePath :: FilePath -> FilePath
125+decodeArg :: String -> String
124#if MIN_VERSION_base(4,4,0)
126#if MIN_VERSION_base(4,4,0)
125encodePath = id
127encodePath = id
127encodePath = encodeString
130encodePath = encodeString
131+decodeArg = decodeString