sojib321 / jsmpp

Automatically exported from code.google.com/p/jsmpp
Apache License 2.0
0 stars 0 forks source link

Unable to deliver Arabic Message thro JSMPP Client #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Created a jsmpp client with message "كيلوبايت" 
2. try {
                System.out.println("Message to be submitted ===== " + segmentData[i]);
                System.out.println();
                String messageId = session.submitShortMessage(
                                "CMT",
                                TypeOfNumber.INTERNATIONAL,
                                NumberingPlanIndicator.UNKNOWN,
                                "1616",
                                TypeOfNumber.INTERNATIONAL,
                                NumberingPlanIndicator.UNKNOWN,
                                RECEIVER_MSISDN,
                                new ESMClass(),
                                (byte) 0,
                                (byte) 1,
                                timeFormatter.format(new Date()),
                                null,
                                new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT),
                                (byte) 0,
                                new GeneralDataCoding(Alphabet.ALPHA_UCS2, null, false),
                                (byte) 0,
                                segmentData[i].getBytes(),sarMsgRefNum, sarSegmentSeqnum, sarTotalSegments);
                System.out.println("Message submitted, message_id is " + messageId);

3.

What is the expected output? What do you see instead?
I expect an Arabic message in the Handset, but i received an empty message

What version of the product are you using? On what operating system?
2.2.0, OS- RedHat Linux

Please provide any additional information below.

Original issue reported on code.google.com by Subraman...@gmail.com on 11 Sep 2013 at 9:17

Attachments: