swiftcsv / SwiftCSV

CSV parser for Swift
MIT License
947 stars 190 forks source link

Remove the Unicode BOM, if present. (#97) #103

Closed lardieri closed 2 years ago

lardieri commented 2 years ago

CSV files saved by Excel and Airtable include the BOM when encoding to UTF-8.

lardieri commented 2 years ago

I've added additional documentation around the BOM.

I'm happy to submit 0.6.2 for release, but you will need to create a branch in your repo for me to open PR against, since it forks from a previous point (039cc273).

DivineDominion commented 2 years ago

I've opened the branch v0.7. On top of the v0.6.1 release, it includes delimiter guessing, which was compatible with the v0.6 code. Will that be causing any trouble? Happy to discuss in another PR! :)

DivineDominion commented 2 years ago

Also, thanks a lot for contributing to SwiftCSV! We've invited you to join the SwiftCSV GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines.