Skip to content

Conversation

milas
Copy link
Member

@milas milas commented Sep 2, 2022

Some Windows editors tend to add UTF-8 BOM markers to files,
which breaks parsing of .env files.

Now, when the file is read, if it starts with a UTF-8 BOM,
we'll skip it. (.env files are always processed as UTF-8.)

See docker/compose#9799.

Some Windows editors tend to add UTF-8 BOM markers to files,
which breaks parsing of `.env` files.

Now, when the file is read, if it starts with a UTF-8 BOM,
we'll skip it. (`.env` files are always processed as UTF-8.)

See docker/compose#9799.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas added the bug Something isn't working label Sep 2, 2022
@milas milas requested a review from ndeloof as a code owner September 2, 2022 17:37
@milas milas self-assigned this Sep 2, 2022
@glours glours merged commit 34d8f70 into compose-spec:master Sep 6, 2022
@milas milas deleted the env-file-utf8-bom branch September 6, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants