summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/roster.py')
-rw-r--r--src/roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.py b/src/roster.py
index 12c529ba..ac25d525 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -207,7 +207,7 @@ class Roster(object):
if p.isfile(path):
return
try:
- f = open(path, 'w+')
+ f = open(path, 'w+', encoding='utf-8')
f.writelines([i + "\n" for i in self.contacts])
f.close()
return True