Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Handle CSV files with UTF-8 BOM #498

Merged
merged 1 commit into from Apr 26, 2019
Merged

Handle CSV files with UTF-8 BOM #498

merged 1 commit into from Apr 26, 2019

Conversation

jwalgran
Copy link
Contributor

@jwalgran jwalgran commented Apr 26, 2019

Overview

Some applications, when saving files with a UTF-8 encoding, will prepend a byte order mark (BOM) at the beginning of the file. By using the utf-8-sig encoding when reading files we will ignore the BOM if it is present.

Connects #473

Testing Instructions

Checklist

  • fixup! commits have been squashed
  • CI passes after rebase
  • CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Some applications, when saving files with a UTF-8 encoding, will prepend a byte
order mark (BOM) at the beginning of the file. By using the `utf-8-sig` encoding
when reading files we will ignore the BOM if it is present.
Copy link
Contributor

@kellyi kellyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Tested this out and it's working as described!

Screen Shot 2019-04-26 at 5 24 39 PM
Screen Shot 2019-04-26 at 5 24 50 PM

@kellyi kellyi assigned jwalgran and unassigned kellyi Apr 26, 2019
@jwalgran
Copy link
Contributor Author

Thanks for the review.

@jwalgran jwalgran merged commit 956c17f into develop Apr 26, 2019
@jwalgran jwalgran deleted the jcw/handle-utf-bom branch April 26, 2019 21:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants