We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Windows, non-ascii unicode characters raise
UnicodeEncodeError: 'charmap' codec can't encode characters in position 8257-8259: character maps to
Finding inspiration here: https://stackoverflow.com/a/30673656, I've replaced
print(astWalker.getLines())
with
import sys, io default_out = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8') print(astWalker.getLines()), file=default_out)
as a workaround. Not sure this is the best thing to do, but it works.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Windows, non-ascii unicode characters raise
Finding inspiration here: https://stackoverflow.com/a/30673656, I've replaced
with
as a workaround. Not sure this is the best thing to do, but it works.
The text was updated successfully, but these errors were encountered: