===================================================================
Gbp-Pq: Name gringo-python3-utf8.patch
-#!/usr/bin/python
+#!/usr/bin/python3
import re
import os
for f in sorted(files):
if f.endswith(".lp"):
b = os.path.join(root, f[:-3])
- inst = open(b + ".lp", 'rU').read()
+ inst = open(b + ".lp", 'rU', encoding='utf-8').read()
if (not with_python and re.search(r"#script[ ]*\(python\)", inst)) or \
(not with_lua and re.search(r"#script[ ]*\(lua\)", inst)) or \
(not with_threads and re.search("async=", inst)) or \