Commit a45554a1 authored by Philipp Hörist's avatar Philipp Hörist

Save history export with utf8 encoding

parent a98d969f
......@@ -515,7 +515,7 @@ class HistoryManager:
# AT THIS TIME FIRST EXECUTE IS LOST! WTH!!!!!
results = self.cur.fetchall()
#print results[0]
file_ = open(path_to_file, 'w')
file_ = open(path_to_file, 'w', encoding='utf-8')
for row in results:
# in store: time, kind, message, contact_name FROM logs
# in text: JID or You or nickname (if it's gc_msg), time, message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment