aMule Forum

English => en_Bugs => Topic started by: OldFrog on February 10, 2004, 07:17:43 PM

Title: Trouble with UTF code on 1.2.5
Post by: OldFrog on February 10, 2004, 07:17:43 PM
Here is a pic of CVS as of Feb 8th (Working fine)

(http://membres.lycos.fr/oldfrog/linux/amulecvs.jpg)

and here the same pic in aMule-1.2.5

(http://membres.lycos.fr/oldfrog/linux/amule125.jpg)

Seems there was a bad transfer in UTF-8 code. all accentuated "éèàùô..." letters are messed.


I gave a first look at the fr.po file, and it seems OK in Kbabel.
Title: Re: Trouble with UTF code on 1.2.5
Post by: RicoH on February 10, 2004, 07:57:36 PM
That's exactly what I have too!
It's a pity!
If I find the solution, i'll give it here, but I hope you could do it too! ;)
Title: Re: Trouble with UTF code on 1.2.5
Post by: Kry on February 10, 2004, 08:14:47 PM
Problem is on code itself I'm afraid.


Maybe we should release a bugfix version very soon.
Title: Re: Trouble with UTF code on 1.2.5
Post by: SlayeruleZ on February 10, 2004, 08:41:43 PM
I'm one of the 2 translators
I writed the po directly in UTF-8
but this can of bug can only be a code (utf-8 or ?) error
Title: Re: Trouble with UTF code on 1.2.5
Post by: OldFrog on February 10, 2004, 08:59:57 PM
I agree, the fr.po file is ok. Do people have such trouble in let's say spanish or other accentuated locales ?
Title: Re: Trouble with UTF code on 1.2.5
Post by: deltaHF on February 10, 2004, 10:19:59 PM
yes, they have.
Title: Re: Trouble with UTF code on 1.2.5
Post by: deltaHF on February 10, 2004, 10:46:03 PM
plz replace your amule.cpp in aMule-1.2.5/src folder with this one and recompile aMule..
tell me if it's ok now please..  ;(
Title: Re: Trouble with UTF code on 1.2.5
Post by: Anne Onyme on February 10, 2004, 10:46:21 PM
I have the same problem. (using the french version too).

Some explanations (for sure, devs know this problem) :

In UTF encoding you can get lots of differents languishes (diffrents charsets). To accomplish this some chars are represented by more than one byte. This is the case for all accents upon letters. To find the right char the first byte can be used to change the number of byte to be used to encode one char (the upper A with tilde on it is this byte).

The problem seems to be like this : the gui take one byte for one char wich doesn't work for UTF (but works for ISO encoding). As UTF is backward compatible with ASCII all english chars are encoded in only one byte. For this reason english is correct on display (and alla chars you can find in english alphabet).

My 2 cents...
Title: Re: Trouble with UTF code on 1.2.5
Post by: deltaHF on February 10, 2004, 11:23:09 PM
i posted there a "new-old" amule.cpp . must be replaced in aMule-1.2.5/src folder .. should work then

greets
Title: Re: Trouble with UTF code on 1.2.5
Post by: OldFrog on February 11, 2004, 12:06:19 AM
Th enew amule.cpp seems to do the trick. Thanks ;-)
Title: Re: Trouble with UTF code on 1.2.5
Post by: RicoH on February 11, 2004, 01:34:38 AM
Thanx a lot! It works well now! :-D
Title: Re: Trouble with UTF code on 1.2.5
Post by: deltaHF on February 11, 2004, 01:43:00 AM
great .. :)

and sorry about.. :baby:
Title: Re: Trouble with UTF code on 1.2.5
Post by: RicoH on February 11, 2004, 01:59:46 AM
No problem! You do a GREAT job!
Title: Re: Trouble with UTF code on 1.2.5
Post by: OldFrog on February 11, 2004, 08:37:33 AM
C'mon, guys, nobody is perfect, and we users for once felt we could be usefull ;-)

Thanks for your so great dedication.
Title: Re: Trouble with UTF code on 1.2.5
Post by: Wallalai on February 13, 2004, 11:15:30 AM
Just emerge it on Gentoo with your fix. It works great. Thanks! ;)