Package: libgammu7 Version: 1.31.90-1 Severity: normal Tags: patch Hello,
By writing SMSes with Wammy, I found that it was unable to code “Ç”,
while it incorrectly coded “ç” as “Ç”:
character ç Ç
↓ ↓
coded, then decoded as Ç ?
Since GSM 03.38 contains Ç but not ç, I thought there was a mistake in
the conversion table of libgammu. And I think I found it, in
libgammu/misc/coding/coding.c: the character 0x09 was incorrectly 0xE7
(ç) where it should have been 0xC7 (Ç). So here is a patch; I did not
test it so the problem may also be somewhere else.
Regards,
--
Tanguy Ortolo
--- coding.c.old 2012-04-02 17:43:25.381934928 +0200
+++ coding.c 2012-04-02 17:48:17.232365196 +0200
@@ -421,7 +421,7 @@
{
{0x00,0x40},{0x00,0xa3},{0x00,0x24},{0x00,0xA5},
{0x00,0xE8},{0x00,0xE9},{0x00,0xF9},{0x00,0xEC},/*0x08*/
- {0x00,0xF2},{0x00,0xE7},{0x00,'\n'},{0x00,0xD8},
+ {0x00,0xF2},{0x00,0xC7},{0x00,'\n'},{0x00,0xD8},
{0x00,0xF8},{0x00,'\r'},{0x00,0xC5},{0x00,0xE5},
{0x03,0x94},{0x00,0x5f},{0x03,0xA6},{0x03,0x93},
{0x03,0x9B},{0x03,0xA9},{0x03,0xA0},{0x03,0xA8},
signature.asc
Description: Digital signature

