From 8cdc21f0cd24423d00c4407435c0d6ddb03e7227 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 18 Nov 2005 08:53:09 +0000 Subject: [PATCH] filenames are utf-8 in gtk --- src/filetransfers_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: