Localized characters are removed from filename while starting download
Bug #480898 reported by
Rumata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LinuxDC++ |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I start downloading some file with localized characters in the name (for examle "Имя файла - file name.txt"), the incomplete filename appears in incomplete folder but all localized characters are removed (in that case " - file name.txt.
Hub encoding: cp1251.
Localized characters in my case are cyrrilic.
Ubuntu: 9.10
LinuxDC++ version: 1.0.3
Core version: 0.698
To post a comment you must log in.
Where are you initiating the download from (search, sharebrowser)? Does the filename show up properly in the GUI while searching/browsing share/downloading? If it's in a file list can you extract and open the file list and ensure the filename is in the encoding that the xml states in its header (use iconv)? If encoding is missing the parser defaults to utf-8. It's possible that the file list says it's utf-8 but is actually in CP1251 or KOI8-R in which case the character conversion will fail for non-ASCII characters.