aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Filenames with special chars not showing  (Read 6562 times)

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Filenames with special chars not showing
« on: January 10, 2005, 07:40:41 PM »

Hi,
First, i know there is already another thread but is not the same problem...

Well, the problem is that whenever i do a search the filenames with special characters (i don't know for sure which one, but Ã, ¶ and Ö are some of them) doesn't appear, the line is there but all the name and the rest of information is not there.

If i click in that file, in the transfers tab happens pretty much the same but with a difference: if i see the details not only i can't see the present name, but none of the names given by some other client (even if it has no special chars in it).

I'm using Gentoo, kernel 2.6.9, gtk+ 2.4.13-r1, wxGTK 2.5.3.
Both gtk+ and wxGTK compiled from source with gtk2 support. I left the unicode support out because wxGTK won't compile with it.

(I'm using wxGTK 2.5.3 because i need amuled)

 ;)
« Last Edit: January 10, 2005, 07:42:35 PM by Pajarico »
Logged

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
Re: Filenames with special chars not showing
« Reply #1 on: January 10, 2005, 09:11:19 PM »

i had this problem ... i solved compiling wxGTK-2.5.3 with unicode enabled ... ISO_8859-1 is bad and we have to move away as soon as possible ...

unmask wxGTK-2.5.3- ebuild ... i had no problem
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #2 on: January 10, 2005, 09:52:53 PM »

Quote
Originally posted by a-snu
i had this problem ... i solved compiling wxGTK-2.5.3 with unicode enabled ... ISO_8859-1 is bad and we have to move away as soon as possible ...

unmask wxGTK-2.5.3- ebuild ... i had no problem

If i enable unicode 2.5.3 breaks, and it seems like a usual problem. I read some descriptions on bugs.gentoo.org
Logged

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
Re: Filenames with special chars not showing
« Reply #3 on: January 11, 2005, 11:53:41 AM »

i used a wxGTK-2.5.3 "patched" ebuild ...
http://bugs.gentoo.org/show_bug.cgi?id=71108
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #4 on: January 11, 2005, 01:01:48 PM »

Quote
Originally posted by a-snu
i used a wxGTK-2.5.3 "patched" ebuild ...
http://bugs.gentoo.org/show_bug.cgi?id=71108

That ebuild is for amule  ?( and they talk about emerging with unicode disabled...
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Filenames with special chars not showing
« Reply #5 on: January 11, 2005, 01:21:58 PM »

Pajarico, they are talking about amd64 and unicode disabled. i guess you have x86..

cheers

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #6 on: January 11, 2005, 02:05:13 PM »

Quote
Originally posted by deltaHF
Pajarico, they are talking about amd64 and unicode disabled. i guess you have x86..

cheers

People, i really apreciate your responses but please read!! ;(

Yes, I'm running amd64...  but anyway, THAT bug (71108) is about amule don't compiling with unicode enabled in wxGTK...so some people disable it and it works... and THAT is exactly my scenario, but i want unicode because i want filenames displayed correctly (i don't know for sure if enabling unicode will fix this in the first place)


a-snu that amule ebuild is the one i'm using right now, since is not yet in portage.

 ;)
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Filenames with special chars not showing
« Reply #7 on: January 11, 2005, 02:23:38 PM »

and whats the compilation error

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #8 on: January 11, 2005, 03:55:19 PM »

Code: [Select]
ACCEPT_KEYWORDS="~amd64" USE=" unicode gtk2" emerge =x11-libs/wxGTK-2.5.3(also tried -opengl, and -gtk2; same result)

Code: [Select]
_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall
./bk-make-pch .pch/wxprec_advdll/wx/wxprec.h.gch wx/wxprec.h x86_64-pc-linux-gnu-c++ -I.pch/wxprec_advdll -D__WXGTK__       -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_ADV -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-unicode-release-2.5 -I../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall
./bk-make-pch .pch/wxprec_htmldll/wx/wxprec.h.gch wx/wxprec.h x86_64-pc-linux-gnu-c++ -I.pch/wxprec_htmldll -D__WXGTK__       -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_HTML -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-unicode-release-2.5 -I../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall
./bk-make-pch .pch/wxprec_xmldll/wx/wxprec.h.gch wx/wxprec.h x86_64-pc-linux-gnu-c++ -I.pch/wxprec_xmldll -D__WXGTK__       -I../src/regex  -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_XML -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-unicode-release-2.5 -I../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall
./bk-make-pch .pch/wxprec_xrcdll/wx/wxprec.h.gch wx/wxprec.h x86_64-pc-linux-gnu-c++ -I.pch/wxprec_xrcdll -D__WXGTK__       -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_XRC -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-unicode-release-2.5 -I../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall
./bk-make-pch .pch/wxprec_gldll/wx/wxprec.h.gch wx/wxprec.h x86_64-pc-linux-gnu-c++ -I.pch/wxprec_gldll -D__WXGTK__       -I../src/regex  -DWXUSINGDLL -DWXMAKINGDLL_GL -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-unicode-release-2.5 -I../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall
(test -d utils/wxrc && cd utils/wxrc && make all) || true
make[1]: Entering directory `/var/tmp/portage/wxGTK-2.5.3/work/wxGTK-2.5.3/build_unicode/utils/wxrc'
../.././bk-deps x86_64-pc-linux-gnu-c++ -c -o wxrc_wxrc.o -D__WXGTK__  -I../../../utils/wxrc -DWXUSINGDLL -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -I../../lib/wx/include/gtk2-unicode-release-2.5 -I../../../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -O2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -pthread -Wall ../../../utils/wxrc/wxrc.cpp
x86_64-pc-linux-gnu-c++ -o wxrc wxrc_wxrc.o -pthread     -L../../lib   -lwx_baseu_xml-2.5 -lexpat -lwx_baseu-2.5        -lwxregexu-2.5  -pthread  -Wl,--version-script,../../version-script -lz -ldl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lwx_baseu_xml-2.5
collect2: ld returned 1 exit status
make[1]: *** [wxrc] Error 1
make[1]: Leaving directory `/var/tmp/portage/wxGTK-2.5.3/work/wxGTK-2.5.3/build_unicode/utils/wxrc'
rm -f lib/libwxregexu-2.5.a
x86_64-pc-linux-gnu-ar rcu lib/libwxregexu-2.5.a wxregex_regcomp.o wxregex_regexec.o wxregex_regerror.o wxregex_regfree.o
make: x86_64-pc-linux-gnu-ar: Command not found
make: *** [lib/libwxregexu-2.5.a] Error 127
make: *** Waiting for unfinished jobs....

!!! ERROR: x11-libs/wxGTK-2.5.3 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! make unicode failed
!!! If you need support, post the topmost build error, NOT this status message.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Filenames with special chars not showing
« Reply #9 on: January 11, 2005, 04:01:10 PM »

ok, what if you download wxgtk as tarball , untar it and compile using: --prefix=/usr --with-gtk --enable-gtk2 --enable-unicode (but remove any other wxgtk and wxbase versions first)

i compiled wx with unicode and gtk2 on suse 64bit without any problems

cheers

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Filenames with special chars not showing
« Reply #10 on: January 11, 2005, 04:05:31 PM »

I do read posts. Therefore, I claim you to compile wx WITHOUT precomp. headers. Check "./configure --help | grep precomp" on wx sources.


It will compile right away. As it does here.
Logged

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #11 on: January 11, 2005, 05:09:26 PM »

Quote
Originally posted by deltaHF
ok, what if you download wxgtk as tarball , untar it and compile using: --prefix=/usr --with-gtk --enable-gtk2 --enable-unicode (but remove any other wxgtk and wxbase versions first)

i compiled wx with unicode and gtk2 on suse 64bit without any problems

cheers
Ok, i will try, but i think its called to fail since emerge does (or should do) exactly that.
Logged

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #12 on: January 11, 2005, 05:21:18 PM »

Kry
Quote
I do read posts.
I don't know if you said that in a bad mood or not, since in a forum is impossible to determine it; but i posted that i needed wxgtk with unicode support, and people replied to me that i have to disable unicode support... so the message i get is that people didn't read my initial post... nothing else, didn't intend to offend anyone.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Filenames with special chars not showing
« Reply #13 on: January 11, 2005, 05:35:49 PM »

First:
    You would have to try  a LOT harder to get me reply in a bad mood :P

Second:
  As I said, and as I also have amd64 and I also compile wx, just do what I said: disable precomp. headers suppport

Third:
Quote
Hi,
First, i know there is already another thread but is not the same problem...

Well, the problem is that whenever i do a search the filenames with special characters (i don't know for sure which one, but Ã, ¶ and Ö are some of them) doesn't appear, the line is there but all the name and the rest of information is not there.

If i click in that file, in the transfers tab happens pretty much the same but with a difference: if i see the details not only i can't see the present name, but none of the names given by some other client (even if it has no special chars in it).

I'm using Gentoo, kernel 2.6.9, gtk+ 2.4.13-r1, wxGTK 2.5.3.
Both gtk+ and wxGTK compiled from source with gtk2 support. I left the unicode support out because wxGTK won't compile with it.

(I'm using wxGTK 2.5.3 because i need amuled)

You NEVER said you needed unicode wx. You posted a bug report about not being able to use unicode with amule compiled without unicode. SO I think everyone behaved nicely :P

If wx wouldn't compile with unicode and you need unicode, right place to ask would be wxWidgets lists or channel. It's ok to post it here, of course, and I told you how to fix. But don't pretend that everyone will take from your words that you need to compile wx with unicode if you say you can't see unicode chars on non-unicode aMule :P

And no, I'm not being rude, don't mean to offend anyone, I just hadn't slep in some days ;)
Logged

Pajarico

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: Filenames with special chars not showing
« Reply #14 on: January 11, 2005, 08:31:36 PM »

Quote
You NEVER said you needed unicode wx. You posted a bug report about not being able to use unicode with amule compiled without unicode. SO I think everyone behaved nicely
Right. Let me correct myself: i said that wxgtk didn't compile with unicode enabled, and the reply was that i have to enable it...
later the same person suggested that i should try an ebuild for wxGTK (that i already had) but that ebuild was in fact for amule... so that was the reason why i said that.
Logged
Pages: [1] 2