The whole error is:
"unicodeencodeerror 'charmap' codec can't encode characters in position 1-6: character maps to <undefined>"
Appears when I run my program in the win console.
When I run it through the PyCharm IDE it does not appear.
The characters it's refering to, are non Latin characters.
I tried with .encode('utf-8') and .decode('utf-8') and seems ok.
Is this the 'proper' way to handle this?
"unicodeencodeerror 'charmap' codec can't encode characters in position 1-6: character maps to <undefined>"
Appears when I run my program in the win console.
When I run it through the PyCharm IDE it does not appear.
The characters it's refering to, are non Latin characters.
I tried with .encode('utf-8') and .decode('utf-8') and seems ok.
Is this the 'proper' way to handle this?