diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py index 0a809b4bc..76f67d6c5 100644 --- a/src/filetransfers_window.py +++ b/src/filetransfers_window.py @@ -260,7 +260,7 @@ _('Connection with peer cannot be established.')) file_dir = None files_path_list = dialog.get_filenames() for file_path in files_path_list: - file_path = file_path.decode(sys.getfilesystemencoding()) + file_path = file_path.decode('utf8') if self.send_file(account, contact, file_path) and file_dir is None: file_dir = os.path.dirname(file_path) if file_dir: