UnicodeEncodeError: ‘charmap’ codec can’t encode – character maps to , print function [duplicate]
I see three solutions to this: Change the output encoding, so it will always output UTF-8. See e.g. Setting the correct encoding when piping stdout in Python, but I could not get these example to work. Following example code makes the output aware of your target charset. # -*- coding: utf-8 -*- import sys print … Read more