module Data.Text.Encoding.Extra where import Data.ByteString (ByteString) import Data.Text (Text) import qualified Data.Text.Encoding as Text import qualified Data.Text.Encoding.Error as Text decodeUtf8Lenient :: ByteString -> Text decodeUtf8Lenient = Text.decodeUtf8With Text.lenientDecode