Check this http://code.google.com/p/smslib/issues/detail?id=448

On Tuesday, October 2, 2012 2:12:00 PM UTC+3, Eugene Semenov wrote:
>
>
>    OutboundMessage msg = new OutboundMessage("7908009****", (new 
> String("123456789012345678901234567890123456789012345678901234567890123456789-".getBytes("UTF-16BE"))));
>         msg.setFrom("21011");
>         msg.setEncoding(Message.MessageEncodings.ENCUCS2);
>         msg.setStatusReport(true);
>
>         OutboundMessage msg2 = new OutboundMessage("7908009****",  (new 
> String("= hello part 2 
> 67890123456789012345678901234567890123456789-".getBytes("UTF-16BE"))) );
>         msg2.setFrom("21011");
>         msg2.setEncoding(Message.MessageEncodings.ENCUCS2);
>         msg2.setStatusReport(true);
>
>         List<OutboundMessage> outboundMessages = new 
> ArrayList<OutboundMessage>();
>         outboundMessages.add(msg);
>         outboundMessages.add(msg2);
>         Service.getInstance().sendMessages(outboundMessages);
>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/LWGoq9zMZXAJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to