Newbie user: Problem when sending SMS in greek

Smpp v3.4 client

Moderator: alt

Locked
pbt
Posts: 1
Joined: Sat Oct 24, 2009 1:49 am

Newbie user: Problem when sending SMS in greek

Post by pbt » Sat Oct 24, 2009 2:04 am

Hello,

I am a registered client using ALT.SMS.SmppClient version 2.5.8.0 and I need to be able to send SMS in greek with maximum of 160 characters.

However, I need the message to be sent as a single sms, so as not to be charged for sending more than one SMS.

Can this be done with the library ?

I have tested with DataCoding.UCS2 and it works, HOWEVER, our message is sent in the format of three (3) SMS messages (1 SMS for every 70 chars of the message), so we end up paying 3 SMS every time we send a message of 160 chars.

I think that if I use DataCodings.Default, I am able to send message with 160 chars, correct?

However, when I am using the following code, instead of greek characters I see ? (question marks) when I receive the SMS on my phone.

Code: Select all

           SmppClient client = null;

           // code to connect to SMPP ...

           // set data coding and submit mode...
           DataCodings coding = DataCodings.Default;
           SubmitMode mode = SubmitMode.ShortMessage;

           // some text in greek upto 160 characters
           string sMessageText = txtSMSMessage.Text.ToUpper();

                //
                // Send SMS ...
                //
                SubmitSmResp[] resp = client.SubmitText(
                    mode,
                    byte.Parse("0"),
                    byte.Parse("0"),
                    String.Empty,
                    byte.Parse("1"),
                    byte.Parse("1"),
                    "mobile number",
                    coding,
                    sMessageText);
Can you please help me?
apraveen25
Posts: 2
Joined: Mon Dec 17, 2007 6:44 am
Contact:

Not Possible

Post by apraveen25 » Mon Nov 23, 2009 11:17 am

It is not possible to send > 70 unicode chars in a single message with any library. It is by design.
Locked