From dc37c8ca23ef1146ac178b813d7158ed3a9f8044 Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Wed, 7 Oct 2015 13:27:38 +0100 Subject: [PATCH] [setup] --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 66d99e08..0ec30c20 100644 --- a/setup.py +++ b/setup.py @@ -44,11 +44,11 @@ import numpy as np def read(fname): try: with open(os.path.join(os.path.dirname(__file__), fname)) as f: - return unicode(f.read()) + return unicode(f.read(), 'utf-8') except NameError: #python 3 with open(os.path.join(os.path.dirname(__file__), fname)) as f: - return (f.read()) + return unicode(f.read(), 'utf-8') def read_to_rst(fname): try: