toText package:pandoc
Convert UTF8-encoded ByteString to Text, also removing '\r'
characters.
A variant of Text.Pandoc.UTF8.toText that takes a FilePath as well as
the file's contents as parameter, and traps UTF8 decoding errors so it
can issue a more informative PandocUTF8DecodingError with source
position.
Convert UTF8-encoded ByteString to Text, also removing '\r'
characters.