Hi Thanasis, Thanks. You are right in that it is the interface that is causing the problem.
May I know the function of parameter "encoding=U"? I thought it is for us to be able to send UNICODE messages or is it I should not be using this parameter in the url? Thanks for your attention. crimson On Jan 21, 5:10 am, Thanasis <[email protected]> wrote: > Hi, > > I think that the problem lies in the way the interface handles the > message's text. > > For example, if you try to send a Unicode Arabic text with the > SendMessage sample, it would be sent correctly, won't it? > The "HEX" mode is a different story - its an encoding mode of the TEXT > protocol. In TEXT protocol, things are more difficult, as you are > required to select the appropriate alphabet before sending out > messages. > > On Jan 19, 3:38 am, crimson <[email protected]> wrote: > > > Hi Thanasis, > > > Thanks for your reply. Actually I tried to search around more on this > > topic and the option is to use the parameter encoding=U. I can receive > > the arabic text. Without this parameter, I will receive a blank sms. > > However I have a constraint here, I am integrating with another > > application and this app is passing me the arabic content but in > > hexadecimal format. If I just pass the hexa value, it will print > > something like "0480069002e002e". Is there a way to set modem in "HEX" > > mode? I know the AT command to do that is AT+CSCS="HEX". I have read > > from a website that after setting this, we can send a hex string > > representing the arabic word and it will appear properly in the phone. > > >http://locahost:8080/send?password=1111&recipient=12341234&text=عزيزي&encoding=U > > > Regards, > > Aik Hwee > > > On Jan 19, 4:11 am, Thanasis <[email protected]> wrote: > > > > Hi, > > > > I'ts not possible to send UNICODE messages via the HTTP interface. > > > Would you mind entering an enhancement request > > > here:http://code.google.com/p/smslib/issues/list > > > > On Jan 18, 8:23 am, crimson <[email protected]> wrote: > > > > > Hi all, > > > > > I have setup SMSServer with Jetty Web Server interface. I am able to > > > > send and receive sms via the urls in normal english text. My question > > > > is, is it possible to send Arabic text via the URL? > > > > >http://locahost:8080/send?password=1111&recipient=12341234&text=<some > > > > arabic content> > > > > > I tried to convert some text to hexadecimal eg "hi.." -> > > > > 0480069002e002e; how do I set the SMSServer to send in hex mode? > > > > > Thanks for your attention. > > > > > crimson
-- You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
