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

set PYTHONUTF8 everywhere #151

Open
jonorthwash opened this issue May 21, 2020 · 3 comments
Open

set PYTHONUTF8 everywhere #151

jonorthwash opened this issue May 21, 2020 · 3 comments

Comments

@jonorthwash
Copy link
Member

Suggested by @TinoDidriksen. See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8.

@sushain97
Copy link
Member

This doesn't sound like something APy should do -- it sounds like something users should do?

@TinoDidriksen
Copy link
Member

On Python 3.7+, APy could check for it and refuse to start if it's not set. Though it does already check for a UTF-8 locale, which is also sufficient.

@jonorthwash
Copy link
Member Author

It currently doesn't run unless it's set, and it does tell the user, so that seems okay. On the other hand, couldn't it just force it (with a warning) and run if it's not set?

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