-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.
-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.