Skip to content

Conversation

@gaurav-kreeti
Copy link
Contributor

-Trim BOM while creating the file stream else it will raise error if any csv files contains BOM.
If you pass :trim_bom in the modes parameter, the stream will trim UTF-8, UTF-16 and UTF-32 byte order marks when reading from file.
Note that this function does not try to discover the file encoding basing on BOM.

Copy link
Owner

@Arp-G Arp-G left a comment

Choose a reason for hiding this comment

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

LGTM

@Arp-G Arp-G merged commit 44531de into Arp-G:develop Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants