RE: [PATCH] Chararcter @ in SMPP
"Dedy Sutanto" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <C5554AEAB8B4DA44A98764E3214B84160B72CA@Jktgrhxmx01.intra.excelcom.co.id> |
OK. Patching charset.c is not good. But if it affected other driver (not only SMPP), Anybody have a clue where the right way to go? (To each driver?) I think, we must go back to previous implementation of SMPP driver like in 1.0.2 / 1.0.3, where smsc_smpp.c has its own character mapping. Regards -dedy- > I have to disagree with you. > In GSM character set @ is coded as 0x00. > If your SMSC doesnt want to have @ encoded as 0x00 but wants to have ISO8859-1 as input, this is something which should be taken care of in > the SMSC driver or on the SMSC itself. patching charset.c would make all SMSC drivers fail. 0x00 encoding is correct according to the > standard GSM character set. If your SMSC wants some other character set as input, well then you should make a patch in smsc_smpp however > its very new to me that SMPP specifies non GSM character set as default. > And frankly if Logica and Comverse do it different, this doesnt mean automatically they follow the SMPP specification. > So I vote -2 also for this patch. > IF this is really to be done, then we should have a config parameter for SMPP driver to tell which charset to send messages > to the SMSC. Be aware if @ is broken, all the other accented characters are probably too. actually this is not the case. I have seen this problem with 3 different smsc's, and not only smpp. and even if other characters are allright, smsc's tend to suppose to get @ not as 0x00 but as something else .. and the same in incoming messages .. but generally - yes - patching charset.c in this respect is not the right thing to do .. k