-
Notifications
You must be signed in to change notification settings - Fork 94
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
Printing the "knife" emoji crashes when the codepage doesn't support it #82
Comments
tbqh I've always been annoyed at myself for including the emoji and the begin/end output. just cut a PR to remove them entirely I've thought about even suppressing pip's output (via |
Cool, the emoji is cute (there's a few projects that seem to have started doing the same) but unfortunately there's still some places that don't support it cleanly - so it's a bit of a "more effort than it's worth" case, I guess. |
On Windows, the console supports UTF8, and since Python 3.6 console output does too. But output to a pipe or file (and presumably any other case where the output doesn't support full Unicode, such as a Unix system with an encoding other than UTF-8 specified) crashes:
Something like the following fix to cli.py should address the issue:
The text was updated successfully, but these errors were encountered: