commit | 93f8f89dedd2f8cf5eb40165a20d009de24c5eda | [log] [tgz] |
---|---|---|
author | Ebrahim Byagowi <ebrahim@gnu.org> | Wed Mar 14 09:56:31 2018 +0330 |
committer | GitHub <noreply@github.com> | Wed Mar 14 09:56:31 2018 +0330 |
tree | b3d2a058074300d4fc64e618ef98cc2fb65892a5 | |
parent | a12dd6f75d85cf29ed78182ac97a12ebbcf77375 [diff] |
[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