From 93f8f89dedd2f8cf5eb40165a20d009de24c5eda Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Wed, 14 Mar 2018 09:56:31 +0330 Subject: [PATCH] [ci] Trying to fix gen-def issue on appveyor (#885) --- src/gen-def.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen-def.py b/src/gen-def.py index 1673537c9..74507e46d 100755 --- a/src/gen-def.py +++ b/src/gen-def.py @@ -7,7 +7,7 @@ import io, os, re, sys headers_content = [] for h in os.environ["headers"].split (' '): if h.endswith (".h"): - with io.open(h, encoding='utf8') as f: headers_content.append (f.read ()) + with io.open (h, encoding='ISO-8859-1') as f: headers_content.append (f.read ()) result = """EXPORTS %s