Is there a way to read files encoded in UTF-8 with BOM (Byte order marks) on Ruby v2.5.0?
On Ruby 2.3.1 this used to work:
csv = CSV.open(file_path, encoding: 'bom|utf-8')
However, on 2.5.0 the following error ocurrs:
ArgumentError:
unknown encoding name - bom|utf-8