Closed allan2 closed 1 year ago
Trying to load a .env file with a BOM (\ufeff) will not parse correctly. The BOM should be ignored when parsing.
\ufeff
Relevant #26
I would like to tackle this.
It seems like the best place to check for a BOM is in Iter::load. This is just before the file is read into the BufReader. Would that be acceptable?
Iter::load
That sounds great!
Trying to load a .env file with a BOM (
\ufeff
) will not parse correctly. The BOM should be ignored when parsing.Relevant #26