pandoc-2.14.2: Conversion between markup formats
CopyrightCopyright (C) 2010-2021 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Pandoc.UTF8

Description

UTF-8 aware string IO functions that will work with GHC 6.10, 6.12, or 7.

Synopsis

Documentation

putStr :: Text -> IO () Source #

toString :: ByteString -> String Source #

Convert UTF8-encoded ByteString to String, also removing '\r' characters.

toText :: ByteString -> Text Source #

Convert UTF8-encoded ByteString to Text, also removing '\r' characters.

toStringLazy :: ByteString -> String Source #

Convert UTF8-encoded ByteString to String, also removing '\r' characters.

toTextLazy :: ByteString -> Text Source #

Convert UTF8-encoded ByteString to Text, also removing '\r' characters.