Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Byte Order Mark (BOM) correctly for CSVs. Fixes #6527 #6528

Closed
wants to merge 1 commit into from

Conversation

tfmorris
Copy link
Member

DRAFT - still needs test updates

Fixes #6527

Changes proposed in this pull request:

  • Create utility method to handle creating an InputStreamReader with a character encoding which is null, our special BOM encoding, or an actual Java character encoding to centralize handling of this
  • Replace all conditional code with calls to the new utility

@github-actions github-actions bot added Type: Bug Issues related to software defects or unexpected behavior, which require resolution. Status: Pending Review Indicates that the issue or pull request is awaiting review by project maintainers or collaborators import About importers in general - add a label for the data format if available labels Apr 11, 2024
@tfmorris
Copy link
Member Author

Closing this in favor of #6596. The piece that replaces this is in commit 076f836

@tfmorris tfmorris closed this May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import About importers in general - add a label for the data format if available Status: Pending Review Indicates that the issue or pull request is awaiting review by project maintainers or collaborators Type: Bug Issues related to software defects or unexpected behavior, which require resolution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSV/TSV separators not guessed correctly for files with Byte Order Marks
1 participant