aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc/ODT.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Text/Pandoc/ODT.hs')
-rw-r--r--Text/Pandoc/ODT.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Text/Pandoc/ODT.hs b/Text/Pandoc/ODT.hs
index b0bfc6693..5b900bf03 100644
--- a/Text/Pandoc/ODT.hs
+++ b/Text/Pandoc/ODT.hs
@@ -43,11 +43,11 @@ import Network.URI ( isURI )
import qualified Data.ByteString as B ( writeFile, pack )
import Data.ByteString.Internal ( c2w )
import Prelude hiding ( writeFile, readFile )
-#ifdef _UTF8
-import System.IO.UTF8
import System.IO ( stderr )
+#ifdef _UTF8STRING
+import System.IO.UTF8
#else
-import System.IO
+import Text.Pandoc.UTF8
#endif
-- | Produce an ODT file from OpenDocument XML.