Page 1 of 1
Tab character in the message
Posted: Sat Aug 18, 2012 8:35 am
by prog019
Dears,
How I can send SMS with body, containing TAB character?
When I'm trying send SMS with TAB character, I get Ç (Ç) character in Mobile phone.
Re: Tab character in the message
Posted: Wed Aug 22, 2012 6:19 pm
by alt
Could you please try to map default data_coding to another .NET encoding using code
client.MapEncoding(DataCodings.Default, Encoding.ASCII);
also you can try to send message text in DataCodings.UCS2, but it affects sms segments number for long text.
Re: Tab character in the message
Posted: Fri Aug 24, 2012 6:21 am
by prog019
Dear Alt,
I need to send messages with length more than 120 chars, and I'm can't use UCS2.
I was try to send in ASCII and UTF8, but the result is same.
client.MapEncoding(DataCodings.Default, Encoding.ASCII);
or
client.MapEncoding(DataCodings.Default, Encoding.UTF8);
Please reply.
Re: Tab character in the message
Posted: Fri Aug 24, 2012 7:11 am
by alt
What data_coding do you use when sending SubmitSm?
Sometimes SMSC requires to use another data_codding such as Latin1.
Re: Tab character in the message
Posted: Fri Aug 24, 2012 7:51 am
by prog019
Dear Alt,
Thank you for your reply.
I'm using Default data coding:
<add key="SMPP_DATA_CODING" value="Default"/>
Re: Tab character in the message
Posted: Fri Aug 24, 2012 7:54 am
by prog019
Dear Alt,
I'm trying with DataCoding.Latin1, but results are the same.
Re: Tab character in the message
Posted: Fri Aug 24, 2012 8:05 am
by alt
Could you ask SMSC technician what setting you should use to send TAB character.
Possible they always convert text to GMS encoding where TAB is Ç (Ç)
Re: Tab character in the message
Posted: Fri Aug 24, 2012 12:14 pm
by prog019
Dear Alt,
Thank you very much.