OpenRefine icon indicating copy to clipboard operation
OpenRefine copied to clipboard

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

Open tfmorris opened this issue 1 year ago • 0 comments

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

tfmorris avatar Apr 11 '24 02:04 tfmorris