[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Optionally disable UCS2 communication with AT phones (SE T61
Re: [PATCH] Optionally disable UCS2 communication with AT phones (SE T610 problem)
Wed, 17 Mar 2004 01:00:21 +0100 (CET)
On Tue, 16 Mar 2004, Pawel Kot wrote:
> On Fri, 12 Mar 2004, Hugo Haas wrote:
> > Attached is a patch to disable UCS2 use. By default, it still behaves
> > like before. When the configuration file contains "unicode=no", then
> > UCS2 is not used and things go well with the T610, or at least mine.
> Please try the attached patch. I hope it will work with your phone.
> Perhaps it would be better to fallback to the default charset but I
> dunno yet how to determine the default charset.
> The patch deals still wrong with my Siemens that doesn't support ME memory
> type at all and in such case it switches the charset unnecceserily.
According to a comment to StoreDefaultCharset function the above logic
(about the desired behaviour) is incorrect and the patch is also
incorrect. When falling back to the default charset, we should set it to
AT_CHAR_HEXGSM not AT_CHAR_GSM. So it will be a bit easier then I thought.
p k o t a t b e z s e n s u d o t p l