===================================================================
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])
- with open(b + ".lp", 'rU') as inst_file:
+ with open(b + ".lp", 'rU', encoding='utf-8') as inst_file:
inst = inst_file.read()
if (not with_python and re.search(r"#script[ ]*\(python\)", inst)) or \
(not with_lua and re.search(r"#script[ ]*\(lua\)", inst)) or \