cfv-project / cfv

Command-line File Verify
GNU General Public License v2.0
58 stars 10 forks source link

Open README file with correct encoding #12

Closed tdwebste closed 4 years ago

tdwebste commented 4 years ago

Without this fix python setup.py install failes

$ python setup.py install Traceback (most recent call last): File "setup.py", line 32, in long_description=_read('README.md'), File "setup.py", line 13, in _read return f.read() File "C:\WinPython\python-3.6.8.amd64\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 0x8f in position 2067: character maps to

lxp commented 4 years ago

Thanks a lot! I have merged your pull request with a small change.