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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amar elzaman
    New Member
    • Aug 2009
    • 4

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

    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","PC CP437","PCDN"," IRA","HEX","885 9-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","H EX","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.GetEnc oding("utf-8"); ]]]]]
    i wote the last line in the open port function.
    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="phoneN O"
    >message الرساله+ct rlZ



    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..
Working...