summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-07-21 15:14:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-07-21 15:14:20 -0700
commit4c88ecaeca4098cfc5913fea060042b9fe48680e (patch)
treef015f772aaf05e939acaff0b7215fb94381c446e /src/Text
parent5be880bd4866b10ed832852fd5666420ef3b3765 (diff)
Changed to using strict bytestrings in UTF8 module.
This avoids a problem on Windows reading from stdin. Previously we'd get an error from hGetBufNonBlocking.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/UTF8.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/UTF8.hs b/src/Text/Pandoc/UTF8.hs
index 3dd61176c..96d6e6218 100644
--- a/src/Text/Pandoc/UTF8.hs
+++ b/src/Text/Pandoc/UTF8.hs
@@ -37,8 +37,8 @@ module Text.Pandoc.UTF8 ( readFile
)
where
-import qualified Data.ByteString.Lazy as B
-import Data.ByteString.Lazy.UTF8 (toString, fromString)
+import qualified Data.ByteString as B
+import Data.ByteString.UTF8 (toString, fromString)
import Prelude hiding (readFile, writeFile, getContents, putStr, putStrLn)
import System.IO (Handle)
import Control.Monad (liftM)