I need to use special characters such as ▒ and █ in my code, and save these to a text file.
However, I am getting an encoding error:
Is there a simple way of dealing with this? Thanks!
However, I am getting an encoding error:
Error:UnicodeEncodeError: 'charmap' codec can't encode character '\u2588' in position 2: character maps to <undefined>
I have seen so many topics on this, but they are all really confusing. 