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

Codec Error #21

Open
smart-patrol opened this issue Jan 1, 2018 · 1 comment
Open

Codec Error #21

smart-patrol opened this issue Jan 1, 2018 · 1 comment

Comments

@smart-patrol
Copy link

UnicodeEncodeError: 'charmap' codec can't encode characters in position 5-9: character maps to <undefined>

Using encoding='utf-8' on the opens fixed it as this stackoverflow post has:
https://stackoverflow.com/questions/44391671/python3-unicodeencodeerror-charmap-codec-cant-encode-characters-in-position

@alias-noa
Copy link

I am having this same problem, but I don't understand how to fix it. I'm trying to run generate.py, but I don't know what they mean about changing encoding to utf-8. Can I do this in the source code somewhere?

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

No branches or pull requests

3 participants