gtk always return utf-8 strings. fixes #1375
This commit is contained in:
parent
7869571662
commit
9d7f27bf66
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue