From: Abiola Date: Tue, 17 Jul 2018 20:38:38 +0000 (+0100) Subject: Fixed encoding issues on windows X-Git-Tag: 0.1.13~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F28%2Fhead;p=thirdparty%2Fstarlette.git Fixed encoding issues on windows Attempting to install the package on windows throws `UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1549: character maps to ` This is an attempted fix --- diff --git a/setup.py b/setup.py index 646c7613..b6a2205b 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def get_long_description(): """ Return the README. """ - return open('README.md', 'r').read() + return open('README.md', 'r', encoding="utf8").read() def get_packages(package):