aMule Forum
English => aMule Help => Topic started by: compuboy1010 on February 06, 2005, 05:06:11 PM
-
Hi board,
how can Asian characters be displayed in amule?
All I can see are boxes. In Emule on Windows I was able to display Chinese and Japanese Characters and also use them while searching. Is that also possible with amule?
-
as you can see it's perfectly possible. check your locale and fonts.
-
compuboy1010,
Do something like this, if you have not set your locale (example for Korean fonts):
$ LANG=ko_KR.UTF-8 amule &
Use the appropriate LANG value for the fonts you want to see, and do not forget to install these fonts.
Cheers!
-
it's enough if the locale is utf8 based. my locale is en_US.UTF8 and i still can input and see CJK characters. amule should be linked to gtk2 wxGTK2.5.3 ansi. unicode doesn't work (unless you tweak the code).
-
Why unicode doesn't work? Works here. But you need to link aMule against a unicoded wxGTK-2.5.3. You will probably have to compile it yourself. I do like this:
$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --enable-gtk2 --enable-unicode --prefix=/usr/local/wxWidgets-cvs
$ make
$ su
$ make install
You will probably want to use /usr/local in --prefix, instead of the one I use.
Cheers!
-
unicoded wxGTK2.5.3 never worked for me. unless i change
static wxCSConv aMuleConv(wxT("iso8859-1"));
to static wxCSConv aMuleConv(wxT("UTF-8"));
in otherfunctions.h
phoenix, did you test it with CJK characters? because i guess ISO8859-1 set is fine.
-
volpol,
Just tell me what to do to test, and I will test. What fonts do I have to install and what locale do I have to set?
Cheers!
-
locale: any utf8 based one: (in my case en_US.UTF8 )
font: kochi
search string (so that you don't have to input it yourself) is in the attached file.
couldn't find a way to post it here.
-
I see what you mean. I get anything but the string I started with. But it is not that UNICODE search does not work. It's UTF-8 search that does not work :D
I can't touch this code, I once suggested changing all to UTF-8, but I was told that this would break ed2k network rules. Maybe Kry can explain this better to you.
Cheers!
-
I have this fixed on my local aMule, but didn't commit it yet 'cos I'm looking for a different approach. But I can assure you it works here ;)
Gimme 1 or 2 days to commit it properly.
-
@kry:
take your time. it does work with ansi build of wxGTK so no hurry.
@phoenix:
yes, that's what i meant. sorry, i forgot to explain. it's been a long while since i last tried unicode wxGTK build so i just forgot what was wrong.
i hope the question of the original poster is now answered ;)