[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 5110: gnokii --writephonebook is broken; gnokii/xgnokii do not write
From: |
BORBELY Zoltan |
Subject: |
Re: 5110: gnokii --writephonebook is broken; gnokii/xgnokii do not write umlaute |
Date: |
Mon, 10 Nov 2003 20:24:53 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Sun, Nov 09, 2003 at 06:58:34PM +0100, Christian Fughe wrote:
> Reading the phonebook from the phone returns the good string, when I add the
> following patch to the ones I supplied before. I apply all patches to
> the sources from 'gnokii-0.5.5.tar.bz2'.
[...]
> +//FUGHE for (i = 0, j = 0; j < len; i += n, j++) {
> +//FUGHE n =
> char_uni_alphabet_decode(pnok_nokia_to_uni(src[j]), buf);
> +//FUGHE if (i + n >= max) break;
> +//FUGHE memcpy(dest + i, buf, n);
> +//FUGHE }
> +//FUGHE dest[i] = 0;
> + memcpy(dest, src, len);
> + dest[len] = 0;
> }
This patch will break some Hungarian characters. I fixed only part of this
problem last week. I forgot German language has some accented chars which
don't exist in Hungarian. Please apply the following patch to 0.5.6 and
drop me a mail it is working or not.
Bye,
Bozo
missing-german-umlauts.diff
Description: Text document