gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bugs in gsm-encoding.c


From: Irfan Acar
Subject: Bugs in gsm-encoding.c
Date: Wed, 05 Mar 2008 18:19:47 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080213)

Hello,

In gnokii-0.6.23/common/gsm-encoding.c, char_def_alphabet_ext_decode() should return gsm_default_alphabet[value] instead of '?' in the default branch of the switch statement.

See the note following the GSM 7bit default alphabet extension table in GSM 03.38 version 7.2.0:

"In the event that an MS receives a code where a symbol is not represented in the above table then the MS shall display the character shown in the main default 7 bit alphabet table in section 6.2.1"

Also, the following case should be added to the switch statement:

        case 0x1B: return ' ';  break;

See Note 1 following the GSM 7bit default alphabet extension table in GSM 03.38 version 7.2.0:

"This code value is reserved for the extension to another extension table. On receipt of this code, a receiving entity shall display a space until another extension table is defined."

-irfan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]