|
@@ -26,11 +26,11 @@ if __name__ == '__main__':
|
|
|
|
|
|
|
|
lines = list()
|
|
lines = list()
|
|
|
inSol = False
|
|
inSol = False
|
|
|
- with open(f, "r") as ins:
|
|
|
|
|
|
|
+ with open(f, "r", encoding="utf-8") as ins:
|
|
|
for line in ins:
|
|
for line in ins:
|
|
|
lines.append(line)
|
|
lines.append(line)
|
|
|
|
|
|
|
|
- with open(of, "w") as outf:
|
|
|
|
|
|
|
+ with open(of, "w", encoding="utf-8") as outf:
|
|
|
for line in lines:
|
|
for line in lines:
|
|
|
startSol = StartSolRec.search(line)
|
|
startSol = StartSolRec.search(line)
|
|
|
if startSol:
|
|
if startSol:
|