From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sun, 19 Mar 2017 20:32:37 +0100
Subject: Use io.open to read UTF-8 encoded README file.

---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 517b445..2506306 100644
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,12 @@
 from __future__ import unicode_literals
 
 import os
+import io
 from distutils.core import setup
 
 
 def read(fname):
-    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+    return io.open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()
 
 setup(
     name='xapian-haystack',
