Philipp Hörist pushed to branch master at gajim / gajim
Commits: a45554a1 by Philipp Hörist at 2018-04-17T22:00:15+02:00 Save history export with utf8 encoding
- - - - -
1 changed file:
- gajim/history_manager.py
Changes:
===================================== gajim/history_manager.py ===================================== --- a/gajim/history_manager.py +++ b/gajim/history_manager.py @@ -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
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a45554a10bcacf0ecd5f38a16ebafe696d7...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/a45554a10bcacf0ecd5f38a16ebafe696d7... You're receiving this email because of your account on dev.gajim.org.