Page 1 of 1

special character in English

Posted: Wed Jan 17, 2018 1:22 pm
by robindas
Hi,

When i am using default encoding special charter were displaying as ? in English.
and if i use latin1 special character were proper but unable to get long concatenated message of more than 160 character.

Please Please help which data encoding shall i use?

thanks
Robin das

Re: special character in English

Posted: Wed Jan 17, 2018 5:08 pm
by robindas
Please Please help me in sending special character in long sms more than 160 character as default encoding does not support special character and latin1 encoding in not sending long msg using

client.Submit(
SMS.ForSubmit()

Please please help.

Re: special character in English

Posted: Wed Jan 17, 2018 5:17 pm
by alt
Hi

Which special character did you mean?
Possible it doesn't exist in the GSM 03.38 table. https://en.wikipedia.org/wiki/GSM_03.38

Library supports 3 types of concatenation parameters. SMS Builder classes creates ready to send SubmitSm instances, but you need to specify which way do you want to use.
Please find out which concatenation parameter you should use with your provider.
https://docs.inetlab.com/smpp/articles/ ... ation.html

Re: special character in English

Posted: Wed Jan 17, 2018 5:29 pm
by robindas
sir,
a basic special character like '@' in long sms i.e more than 160 character

Re: special character in English

Posted: Wed Jan 17, 2018 5:35 pm
by robindas
sir,

a basic special character like '@' in long sms i.e more than 160 character.


here is my code

DataCodings submitDataCoding = DataCodings.Default;

bool isunicode = bool.Parse(reader[4].ToString());
if (isunicode == true)
{
submitDataCoding = DataCodings.UCS2;
}


IList<SubmitSmResp> responses = client.Submit(
SMS.ForSubmit()
.Text(reader[3].ToString())
.From(reader[1].ToString())
.To("91" + reader[2].ToString())
.Coding(submitDataCoding)

.DeliveryReceipt()

);

Thanks
Robin das

Re: special character in English

Posted: Wed Jan 17, 2018 5:52 pm
by alt
If DataCoding.Default doesn't work with you provider, you can change corresponding .NET encoding like described here:
https://docs.inetlab.com/smpp/articles/ ... oding.html

It is provider specific configuration. You should ask them some questions:
- Which DataCoding to use.
- Which character table (Encoding) should be used for DataCoding.
- Which concatenation parameters should be used.

I cannot give you correct advice without this information.

Re: special character in English

Posted: Wed Jan 17, 2018 6:50 pm
by robindas
sir really thanks for reply.

I had forwarded the queries to the smpp provider and will share with you asap i get it.

just to bring your notice when i am using coding as latin1 i am able to send special character successfully. but at a same time when i am sending a long msg i.e more than 160 char using
https://docs.inetlab.com/smpp/articles/ ... arted.html .

The complete long message does not getting delivered to the handset.

THanks
Robin das

Re: special character in English

Posted: Thu Jan 18, 2018 3:47 am
by robindas
Dear sir,

Got the following answer from smpp provider

- Which DataCoding to use.
- Which character table (Encoding) should be used for DataCoding.
- Which concatenation parameters should be used.


1.DataCoding to use is ASCII
2.You have to pass parameter concat=1, in case of multipart messages through SMPP.
We are not clear with your concern for character table (Encoding) should be used for DataCoding. Please elaborate for the same.

Please please help with proper setting.

Thanks