Opened 9 years ago

Closed 8 years ago

#2092 closed bug (Fixed)

[win32] Cannot create torrent with non-acsii names

Reported by: IAmTheClaw Owned by: Cas
Priority: minor Milestone: 1.3.6
Component: GTK UI Version: 1.3.5
Keywords: unicode Cc:

Description (last modified by Cas)

While the daemon handles Unicode just fine, the GTK UI has problems selecting files/directories with most non-ASCII characters in dialogs. I have been dealing mainly with Japanese characters, but I'm sure it applies to most Unicode characters.

In the torrent creation dialogs, it is impossible to create a usable torrent file from a directory with Unicode characters in its name. It will show in the listing, but the Open button doesn't work if such a directory is selected (and it renders the Cancel button useless once pressed as well).

Closing the window with the X button at the top works, though. The directory will appear in the Create Torrent dialog, but no piece size is determined (just like when there's no directory selected). It can save the .torrent file with the Unicode characters properly, but the file is very small and seems to be unusable.

OS: Windows 7 x64

Deluge daemon and client are both version 1.3.5.

Change History (3)

comment:1 Changed 9 years ago by Cas

  • Description modified (diff)
  • Milestone changed from Future to 1.3.6
  • Owner set to Cas
  • Status changed from new to assigned
  • Summary changed from GTK UI has issues with Unicode file/directory names and .torrent files to [win32] Cannot create torrent with non-acsii names

comment:2 Changed 9 years ago by Cas

This bug relates to this commit: acba442

Removing the encode(sys.getfilesystemencoding()) should solve this issue.

comment:3 Changed 8 years ago by gazpachoking

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in 7d88cb1850e

Note: See TracTickets for help on using tickets.