aMule Forum
English => aMule Help => Topic started by: 谦笔小新 on June 24, 2009, 03:39:17 PM
-
I'm a new GNU/Linux user (Ubuntu distro),
I use 'apt-get' to get amule-deamon and amule-utils.He work very well all way.However ,I find the filenames that amule downloaded all are Unkown ,just liket the image below.How can it show the correct filenames.What shoud I do?
Thanks!
-
Ubuntu release?
aMule version?
-
Ubuntu 8.04
aMule SVN using wxGTK2 v2.8.7 (Snapshot: Mon Feb 18 07:02:15 CET 2008)
-
Same here on amule 2.2.5 / opensuse 10.3
Files with only 'normal' characters are not affected, but if there's accents or any 'foreign' letter, file is renamed to unknown.
-
Ubuntu 8.04
aMule SVN using wxGTK2 v2.8.7 (Snapshot: Mon Feb 18 07:02:15 CET 2008)
Please, update your aMule -> http://www.amule.org/amule/index.php?topic=16647.0
aMule package of Ubuntu 8.04 is a very old svn release.
-
I think there's something wrong here - looks like the second argument should be inverted. Introduced in 8565.
CPath dstName = m_filename.Cleanup(true, PlatformSpecific::CanFSHandleSpecialChars(targetPath));
CPath CPath::Cleanup(bool keepSpaces, bool isFAT32) const
However this affects only characters "*<>?|\:
Woutermense, can you give an example?
-
I think code is difficult for me .em...
Reply:Festor
I'll try to update my amule.
Thanks everybody!
-
I think Stu wants you to simply post a file name with special characters in it. :)
-
filenames like this :
群星.-.[2009经典发烧唱片·十五靓声 DSD].专辑.(APE).ape
群星.-.[汽车音响测试天碟].专辑.(ape).ape
;)
-
...hehe...lol....i can't even understand them...maybe aMule feels like me :D
-
What's your locale?
-
Just downloaded 群星.-.[汽车音响测试天碟].专辑.mp3 with no problems (Ubuntu Jaunty, ext3).
-
Maybe I have to update my ubuntu to 9.04?
-
Just answer me
-
China,do you mean where I am? I must draw support from the dictionary to translate,because of my poor english .em...
-
Hi,
please open a terminal program and type "locale". Then write the output here. :)
-
;)
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
-
ä and ü characters trigger this for example
locale amule is running in:
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
-
woutermense: I think you should change your locale to some locale that will contain the characters you use. Maybe de_DE.iso88591 will work. To see your available locales, type "locale -a" (no quotes) in your terminal window.
Regards.
-
same problem on my linkstation
Debian
Linux Linkstation 2.6.30.5 #1 Wed Aug 19 06:29:20 CDT 2009 ppc GNU/Linux
amule 2.2.6 + wxgtx 2.8.11
my locale
LANG=zh_TW.UTF-8
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=zh_TW.UTF-8
use screen to run amuled after ssh login...
screen -dmS amuled amuled
Add command under amuled works fine and show dl looks good.
But after download completed, file will renamed to unknown~
configure for wxGTK
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise
configure for amule
./configure --disable-debug --disable-monolithic --enable-optimize --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-alcc --with-language=zh_TW
-
I fixed it.
After recompile wxgtk and amule with new configure, these problem were gone.
wxgtk 2.8.11
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise --disable-gui --without-subdirs --without-expat
amule 2.2.6
./configure --disable-debug --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --with-toolkit=base --with-language=zh_TW
-
Good to know there exists a solution.