tahoe-lafs / zfec

zfec -- an efficient, portable erasure coding tool
Other
374 stars 44 forks source link

Remove non-ascii character from README.rst #16

Closed copyninja closed 6 years ago

copyninja commented 6 years ago

This was causing build failure on Debian with following error

I: pybuild base:217: python3.6 setup.py clean
Traceback (most recent call last):
  File "setup.py", line 60, in <module>
    long_description=open('README.rst', 'rU').read(),
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal
not in range(128)
warner commented 6 years ago

Ah, Zooko set us up the BOM. Yep, happy to land this one. I'm sure there some reason why open(mode='rU') is trying to interpret the file as ASCII instead of UTF-8 (probably a locale issue), but it's not worth trying to fix that when we can just get rid of the BOM instead.