summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index e3d2de36..60f98abc 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2239,7 +2239,7 @@ class RosterInfoTab(Tab):
self.core.information('The file %s does not exist' % filepath, 'Error')
return
try:
- handle = open(filepath, 'r')
+ handle = open(filepath, 'r', encoding='utf-8')
lines = handle.readlines()
handle.close()
except IOError: