Skip to content
Snippets Groups Projects
Commit 9d7f27bf authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

gtk always return utf-8 strings. fixes #1375

parent 78695716
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ class VcardWindow:
if response == gtk.RESPONSE_OK:
f = dialog.get_filename()
try:
f = f.decode(sys.getfilesystemencoding())
f = f.decode('utf-8')
except UnicodeError:
pass
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment