Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Windows: Unicode Character is not escaped #88

Closed
matthewshirley opened this issue Feb 5, 2018 · 3 comments
Closed

Windows: Unicode Character is not escaped #88

matthewshirley opened this issue Feb 5, 2018 · 3 comments

Comments

@matthewshirley
Copy link

I've noted when using a windows machine, a Unicode character is added to every value.

'OS': 'Windows_NT',
'EXAMPLE_KEY': u'EXAMPLE_VALUE'

This is using the example listed in the README.

@greyli
Copy link
Contributor

greyli commented Mar 8, 2018

Same issue with Python 2.7 on Windows. I have this value in .env:

FLASK_ENV=development

After loaded, it change to:

u'FLASK_ENV'=development

Then it cause a TypeError: environment can only contain strings. Any help?

@theskumar
Copy link
Owner

@matthewshirley @greyli would you be able to provide the exact steps, so i can reproduce it. A patch is also welcomed.

@greyli
Copy link
Contributor

greyli commented Mar 8, 2018

I'll try to make a PR.

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

No branches or pull requests

3 participants