We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to load a .env file with a BOM (\ufeff) will not parse correctly. The BOM should be ignored when parsing.
\ufeff
Relevant #26
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
That sounds great!
Add support for UTF-8 BOM encoding
3d88dc0
The UTF-8 Byte Order Mark `\ufeff` will be ignored when parsing. See allan2#27
Add support for UTF-8 BOM encoding (#28)
a6b08ba
The UTF-8 Byte Order Mark `\ufeff` will be ignored when parsing. See #27
No branches or pull requests
Trying to load a .env file with a BOM (
\ufeff
) will not parse correctly.The BOM should be ignored when parsing.
Relevant #26
The text was updated successfully, but these errors were encountered: