Skip to content
New issue

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

Initialization fails with ill-fitting NotFound custom error when .env file is not encoded as UTF8 #20

Open
Nimelrian opened this issue Jun 2, 2019 · 2 comments

Comments

@Nimelrian
Copy link

Nimelrian commented Jun 2, 2019

When the .env file is saved with something other than a UTF-8 encoding, the initialization returns a NotFound custom error, which gives users the wrong lead when debugging.

Another error should be returned instead (wrong encoding).

@svanas
Copy link

svanas commented Nov 29, 2019

Confirmed. This causes the Getting Started guide to fail on Windows, because...

echo DATABASE_URL=postgres://username:password@localhost/diesel_demo > .env

...generates a UTF-16 encoded file (not a UTF-8 encoded file).

@guitartsword
Copy link

Same here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants