Ticket #2092 (closed bug: fixed)

Opened 13 months ago

Last modified 6 months ago

[win32] Cannot create torrent with non-acsii names

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

Description (last modified by Cas) (diff)

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

Changed 13 months ago by Cas

  • owner set to Cas
  • status changed from new to assigned
  • milestone changed from Future to 1.3.6
  • description modified (diff)
  • summary changed from GTK UI has issues with Unicode file/directory names and .torrent files to [win32] Cannot create torrent with non-acsii names

Changed 13 months ago by Cas

This bug relates to this commit:  acba442

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

Changed 6 months ago by gazpachoking

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in  7d88cb1850e

Note: See TracTickets for help on using tickets.