← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 480898] Re: Localized characters are removed from filename while starting download

 

There is real filelist in the attachment. As I can see it is encoded in utf-8. I tried to download the file
<File Name="031 А-СТУДИО - ДЖУЛИЯ.mp3" Size="9250130" TTH="4MFUSQOPZVSW4ZIINSNKBNZOIJLO3AVKHVTJH3Q"/>
and resulting file name became "031 - - .mp3"
In UI everything looks ok. But it's not on a filesystem.

** Attachment added: "krya.WMX74B4KWJZ6ZM7GSQRDWK32NVC3UP5EBKIFWTQ.xml.bz2"
   http://launchpadlibrarian.net/35833550/krya.WMX74B4KWJZ6ZM7GSQRDWK32NVC3UP5EBKIFWTQ.xml.bz2

-- 
Localized characters are removed from filename while starting download
https://bugs.launchpad.net/bugs/480898
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Incomplete

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.4G3JT4ZPPSIJ64TII7ZOZRRCFHC7PMCYX6GIOGA.dctmp" with 2 spaces in the beginning!). After downloading is complete, it is moved with name still without localized characters ("  - 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



References