Opened 13 years ago

Closed 12 years ago

#2092 closed bug (Fixed)

[win32] Cannot create torrent with non-acsii names

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

Description (last modified by Calum)

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 by Calum, 13 years ago

Description: modified (diff)
Milestone: Future1.3.6
Owner: set to Calum
Status: newassigned
Summary: GTK UI has issues with Unicode file/directory names and .torrent files[win32] Cannot create torrent with non-acsii names

comment:2 by Calum, 13 years ago

This bug relates to this commit: acba442

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

comment:3 by Chase, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed in 7d88cb1850e

Note: See TracTickets for help on using tickets.