May-04-2021, 08:17 PM
I have no clue how to change encoding via code.
The only solution I found:
Can someone help me with that?
The only solution I found:
import sys # sys.setdefaultencoding() does not exist, here! reload(sys) # Reload does the trick! sys.setdefaultencoding('UTF8') (Note for Python 3.4+: reload() is in the importlib library.)But it does not work.
Can someone help me with that?