From d4c016feff629a85c7a22d71333bcde86689f8af Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Sun, 11 Oct 2015 16:05:37 +0100 Subject: [PATCH] [doc] pypandoc --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4dc5ddff..8d81397f 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ def read_to_rst(fname): import pypandoc #print 'Warning in installation: For rst formatting in pypi, consider installing pypandoc for conversion' with open('README.rst', 'w') as f: - f.write(unicode(pypandoc.convert('README.md', 'rst'))) + f.write(unicode(pypandoc.convert('README.md', 'rst'), 'utf-8')) except ImportError: return read(fname)