Hi,

I setup sms gateway using cellphone as virtual smsc, it works great for
7-bits messages, I can use http get to send sms from pc to any
cellphone.  But when I send message encoded in UCS-2BE, the end of the
message is always replaced by some random garbage characters.  The
longer the sms message is, the more characters are replaced.  For
example, I do this to send "ABCDE" encoded in UCS-2BE:

http://...(omitted)...&coding=3&text=%00%41%00%42%00%43%00%44%00%45

The message shown on the cellphone is 'ABCDg' , or 'ABCDN' , or 'ABCDx'
..., ie., the last char is always replaced by a random character.  If
the message is 60 chars long, last 4 chars are replaced.

I need to use UCS-2 to send chinese sms.  Any idea why this is
happening?


Stephane
[EMAIL PROTECTED]


Reply via email to