diff --git a/main.py b/main.py index b8c13a2..af7251f 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ class Root(object): def index(self, *args, **kwargs): answer = "" - with open('data.txt') as f: + with open('data.txt',encoding='utf8') as f: context = f.read() f.close()