aMule Forum
English => en_Bugs => Topic started by: sidamos on March 10, 2005, 11:31:00 AM
-
HI!
Suse 9.2 uses UTF-8 for filenames as default.
If I have German Umlauts in a file, then Amule displays them corrupted in the Shared Files list.
I don't know yet what happens, if I download a file with Umlauts.
Running rc8 on Suse 9.2 with KDE.
Thanks!
Thomas
-
HI!
Just noticed another UTF-8 problem:
If I type in a German Umlaut in the search field, it's being displayed corrupted immediately.
I am using the Suse 9.2 RPM.
Thomas
-
yeah thats cause due to the fact that those rpms are made with gtk1...this does not support unicode
so you have the choice to update your wxGTK rpms to 2.5.3 or 2.5.4 and compile it with gtk2 support turned on.
then recompile your amule against those new wxGTK libs, and amule will come with gtk2 support and also unicode enabled.
stefanero
-
HI!
wxGTK 2.5.2 is available as RPM from Suse for Suse 9.2. Would this be enough?
Could you (or the packager of the aMule Suse 9.2 RPMs) provide updated aMule RPMs with Unicode support for Suse 9.2?
Thomas
-
well about the update, if we do it we provide gtk1 and gtk2 for 2.0 final.
about those wxGTK 2.5.2 rpms from suse,
1st 2.5.2 version was still bit buggy, especially with source connections.
2nd wxGTK rpms fhttp://www.amule.org/wiki/index.php/Using_another_wxinstallrom suse are most often fucked so I would not recommend them
to solve your problem I would recommend you soemthing really simple.
keep your installations as it is right now and install in
/home/USER/amule/blablab.....
wxGTK and a "new" amule with gtk2 support
check
http://www.amule.org/wiki/index.php/Using_another_wxinstall
dl wxGTK 2.5.4 from http://www.wxwidgets.org and compile with
./configure --prefix=/your_prefix/ --enable-gtk2 --enable-unicode
and then compile amule against those new wxGTK
./configure --with-wx-config=/your_prefix/bin/wx-config --more_options
its not that hard ;)
stefanero
-
btw and while you are compiling anyway ;)
use amule-cvs from http://amule.hirnriss.net :) its lots lots betten then rc8
stefanero
-
HI!
OK, I have done all that (wxGTK 2.5.4 with unicode and amule cvs) and amule basically works. I can now enter Umlauts into the search field (although if I just enter "รค", it seems to find ALL files).
But it now does not display the files with Umlauts in Shared Files at all. I get this error:
No permisions to open [SNIP]
Of course the permissions are correct:
ls -la [SNIP]
-rw-r--r-- 1 thomas users 530499584 2005-02-24 15:57 [SNIP]
Looks like it is not truly Unicode-capable.
Thomas
EDIT: Snipped copyrighted stuff, you naughty boy!
-
ohoh I think I forgot the unicode bug in wx :]
so its not amule which is making the mistake its wx, but phoenix is working on a workaround patch for the unicode problem from wx atm.
but before 2.5.4 it worked i had also german files in my shares and no problems..
but the display bugs should be gone now atleast right?
about the search i have to try at home myself, dont remember...but i am at work atm
stefanero
-
HI!
Yes, typing Umlauts in the GUI (search field) now works OK.
Did you have UTF-8 filenames and it worked?
Should I use a different wx version?
Thomas
-
well yes I had unicocde filenames and it worked...but atm I dont have any so I forgot about that its brocken with 2.5.4...
if you want you can try 2.5.3 I am pretty sure it worked there
stefanero
-
HI!
I redid everything with wx 2.5.3 and got the same permissions error.
Thomas
-
I will check in 2h when I am back from work...
-
hum looks like you are right ;(
its definetly brocken now...I add a bug report
thnx for your help
stefanero
-
Here works ok.
-
I changed my local to en_En.UTF-8
but that did not help aswell...
-
fixed by Kry tonight...
works here now aswell, should be in tarball from 21.03. already
stefanero
-
*Yawn* yes, fixed
-
HI!
Current CVS (aMule-CVS-20050321.tar.bz2) does not compile for me (with wxGTK 2.5.4):
amuleDlg.cpp: In member function `void CamuleDlg::ToogleED2KLinksHandler()':
amuleDlg.cpp:277: error: no matching function for call to `wxSizer::IsShown()'
/work/amule/include/wx-2.5/wx/sizer.h:432: error: candidates are: bool wxSizer::IsShown(wxWindow*) const
/work/amule/include/wx-2.5/wx/sizer.h:433: error: bool wxSizer::IsShown(wxSizer*) const
/work/amule/include/wx-2.5/wx/sizer.h:434: error: bool wxSizer::IsShown(unsigned int) const
amuleDlg.cpp:783:10: Warnung: #warning This will be here till the core close is != app close
I compiled wxGTK 2.5.4 with:
./configure --prefix=/work/amule/ --enable-gtk2 --enable-unicode
And aMule with:
./configure --prefix=/work/amule/ --enable-debug --disable-optimize --with-wx-config=/work/amule/bin/wx-config
Thomas
-
hmpf
http://forum.amule.org/thread.php?threadid=5523
-
HI!
Thanks and sorry, I did not see that other thread.
aMule CVS now compiled and UTF-8 seems to work. :-)
Thanks!
Thomas
-
goodie goodie :)
-
HI!
Sorry, still one problem left: On every start, it rehashes the files with Umlauts in their names.
Thomas