[ci] Trying to fix gen-def issue on appveyor (#885)

diff --git a/src/gen-def.py b/src/gen-def.py
index 1673537..74507e4 100755
--- a/src/gen-def.py
+++ b/src/gen-def.py
@@ -7,7 +7,7 @@
 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