amol- / depot

Toolkit for storing files and attachments in web applications
MIT License
161 stars 41 forks source link

Fix an issue causing UnicodeDecodeError during installation #37

Closed philiptzou closed 7 years ago

philiptzou commented 7 years ago

During installation, if the system's language is not using UTF-8 encoding (for example, LANG=C) Python (tested with 3.5) will throw out an UnicodeDecodeError when reading the content from README.rst like this:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2881: ordinal not in range(128)

The problem is caused by a \xc2\xa0 space after the "UploadedFileProperty" in section 0.1.2 of README.rst. This pull request removed the invisible space.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-8.5%) to 89.03% when pulling 2cde36718284ad0a027e69b8881778d53f1af3b6 on philiptzou:patch-1 into 388a2b29ef630a197063b4ca8131cf82b215fbfc on amol-:master.

amol- commented 7 years ago

0.4.1 is out with this

philiptzou commented 7 years ago

Thanks, you are super fast!