[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in hex encoding for Nokia 8210
From: |
Pawel Kot |
Subject: |
Re: Bug in hex encoding for Nokia 8210 |
Date: |
Wed, 11 Jun 2003 18:50:12 +0200 (CEST) |
On 11 Jun 2003, Diego SANTA CRUZ wrote:
> I discovered an incompatibility between the hex encoding done by gnokii
> (0.5.1) and what is required by a Nokia 8210 phone on an IrDA connection
> (using AT protocol).
>
> The phone's phonebook expects all hex numbers to be uppercase in the
> +CPBW command when the HEX encoding is set (+CSCS command), but gnokii
> formats them in lowercase. When the phone gets them in lowercase it
> accepts the data but it gets it all garbled up.
>
> Attached is a patch that fixes this problem by formatting hex numbers in
> uppercase. As I don't have other mobile phones I cannot say if this
> breaks any other phones.
I will check some phones, but the argumentation seems resonable and my
memory says me that I had such problem some time go either. So thanks for
the patch.
> BTW, why is not a saner encoding, such as 8859-1, used instead of HEX?
Please read comments in charset functions in common/phones/atgen.c.
Manfred wrote few elaborates there :-)
pkot
--
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku