diff --git a/util/flatten.py b/util/flatten.py index ca5debe..f4b716b 100644 --- a/util/flatten.py +++ b/util/flatten.py @@ -5,7 +5,7 @@ import time # get list of chapters chapters = [] -for line in open('index.html'): +for line in open('index.html', encoding="utf-8"): if not line.count('