When running flake8-copyright on Windows on files which contain unicode characters, I get the following error:
File "..\lib\site-packages\flake8_copyright.py", line 86, in run top_of_file = open(self.filename).read(toread) File "..\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 5141: character maps to <undefined>
@maximest-pierre
When running
flake8-copyright
on Windows on files which contain unicode characters, I get the following error:File "..\lib\site-packages\flake8_copyright.py", line 86, in run top_of_file = open(self.filename).read(toread) File "..\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 5141: character maps to <undefined>
@maximest-pierre