Connecting Tech Pros Worldwide Forums | Help | Site Map

how to send unicoded sms through pc and gsm(urgent)

Newbie
 
Join Date: Aug 2009
Posts: 2
#1: Aug 31 '09
peace be upon u friends

i'm working on a project to send sms through pc and gsm modem(mobile)
and every thing is ok, i succeded to send but english sms only,
when i tried to send arabic the message sent with errors in encoding the arabic characters.
my mobile is nokia n73, it supports these character sets ofencoding
UCS2","GSM","PCCP437","PCDN","IRA","HEX","8859-1

this is sample code i entered in the hyper terminal,
and surely i tested in c# but also failed



AT+CSCS=?
+CSCS:("UCS2","GSM","PCCP437","PCDN","IRA","HEX"," 8859-1")
OK

At+CSCS?
+CSCS:"PCCP347"
OK

AND I knew that only(ucs-2, gsm, pccp437) support arabic language
but c# doesn't support anyone of them
i tried in c# getEncoding to use(utf-8 or ("utf-16 as it is similar somehow to the ucs2")
also, iso-8859-9 and 8859-6 and windows-1256)
like
[[[[ port.Encoding = Encoding.GetEncoding("utf-8"); ]]]]]

but useless

also
i tried to use this code in hyper terminal and in c# code(with the past character sets like:
AT+cscs="ucs2"
AT+CMGS="phoneNO"
>message الرساله+ctrlZ



also the message recieve with encoding errors

i don't know what i should do, but now i'm searching to add ucs-2 character set page to visual c#, however it failed even to send from the hyper terminal.

hint:: i tried to send from demo program called (headwind sms)and it sent succefully the arabic message that means no problems in my mobile.

could anyone help me,please??, or tell me about adding encoding face.

and sorry for writing so much..

Reply


Similar Mobile Development bytes