0002655: Directories and files with accents characters cause failures in Windows.

svn: r12105
This commit is contained in:
Brian Matherly
2009-02-24 04:30:47 +00:00
parent 8ca8e2f4bd
commit 2f2a0712a0
8 changed files with 10 additions and 15 deletions

View File

@@ -1261,7 +1261,7 @@ class GuiDestinationOption(gtk.HBox):
status = fcd.run()
if status == gtk.RESPONSE_OK:
path = unicode(fcd.get_filename(), sys.getfilesystemencoding())
path = Utils.get_unicode_path(fcd.get_filename())
if path:
if not self.__option.get_directory_entry() and \
not path.endswith(self.__option.get_extension()):