From 28fd412e832d97786522abca740ecccd120516a7 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 8 Oct 2015 17:05:25 -0500 Subject: [PATCH] Use UTF-8 to read isl source --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 80fa724..1f7faae 100644 --- a/setup.py +++ b/setup.py @@ -145,7 +145,7 @@ def main(): if "isl_ast_int.c" in fn and conf["USE_SHIPPED_IMATH"]: continue - inf = open(fn, "rt", codec="utf-8") + inf = open(fn, "rt", encoding="utf-8") try: contents = inf.read() finally: -- GitLab