databrary-1: Databrary

Safe HaskellNone
LanguageHaskell2010

Data.Csv.Contrib

Synopsis

Documentation

removeBomPrefixText :: Text -> Text Source #

some programs introduce a byte order mark when generating a CSV, remove this per cassava issue recipe

removeBomPrefix :: ByteString -> ByteString Source #

some programs introduce a byte order mark when generating a CSV, remove this per cassava issue recipe

repairDuplicateLineEndings :: ByteString -> ByteString Source #

fix duplicate line endings, unclear if SPSS or Excel introduces them

repairCarriageReturnOnly :: ByteString -> ByteString Source #

only fix newlines for bizarre macOS endings that use r instead of rn