devbisme / KiPart

Python package for generating multi-unit schematic symbols for KiCad from a CSV file.
MIT License
174 stars 46 forks source link

open readme in utf8 #57

Closed liubenyuan closed 2 years ago

liubenyuan commented 3 years ago

Avoid a python setup.py build error when using KiPart in Windows 10 CN (GBK encodings)

Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    readme = readme_file.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x94 in position 1190: illegal multibyte sequence