Page 1 of 1

Send the message containing an underscore: 5F vs 11

Posted: Tue Sep 08, 2009 11:01 am
by KonstOne
I try to send the message containing an underscore, but it is transferred in the wrong coding.

Code: Select all

Dim sm As SubmitSm
Dim Message as String = "test _ test"
sm = New SubmitSm
            sm.Command = CommandSet.SubmitSm
            sm.DataCoding = ALT.SMS.DataCodings.Default
            sm.DestAddr = DestAddr
            sm.DestNpi = Convert.ToByte(DestNpi)
            sm.DestTon = Convert.ToByte(DestTon)
            sm.SrcAddr = SrcAddr
            sm.SrcNpi = Convert.ToByte(SrcNpi)
            sm.SrcTon = Convert.ToByte(SrcTon)
            sm.RegisteredDelivery = RegisteredDelivery
sm.ShortMessage = Message
ret = ObjSmppClient.Submit(sm)
GSM default alphabet (7 bit)
0x11 17 LOW LINE _

I receive the following code at sending: 0x5F :!:

Whether this error will be corrected?

Posted: Wed Sep 23, 2009 12:10 pm
by KonstOne
:?:
Whether this error with an incorrect code will be corrected?

Thanks in advance.

Posted: Sun Sep 27, 2009 6:40 pm
by alt
Can you try to send with DataCoding
ALT.SMS.DataCodings.Latin1 or
ALT.SMS.DataCodings.UCS2 ?

Realy SMPP client never use GSM coding. Conversion to GSM is performed only on SMSC side.
Depending on the chosen ESME data coding the short message text data is send from the SMSC to the mobile in one of the following ways:
• Transparently
• Mapped to the default GSM alphabet
When text is send from ESME to SMSC in USC2 coding the data will be transparently send to the mobile.
When the text is coded for example in LATIN-1 or the SMSC Default Alphabet, usually a mapping will be performed by the SMSC to the GSM Default Alphabet before sending the text to the mobile. As the GSM Default Alphabet is 7-bit coded and uses other codes for some characters and in some cases does not even provide a certain character, this implies that during the mapping process not every character can be mapped one-to-one.

Posted: Mon Sep 28, 2009 7:50 am
by KonstOne
Thanks. We will work in other coding.