nguyenbahuong / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

Problems with Russian localization with BulkSms provider. #522

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am unable to send an sms with Russian characters using latest smslib version 
via bulksms provider, I always get "?" instead of expected symbols.

Changing the message encoding to "MessageEncodings.ENCUCS2" before the sending 
(as it's recommended in the smslib documentation) does not help. Please see 
attached SendMessage.java example file to get more details.

I tried to debug it and it seems like final POST requests sent to the provider 
in the BulkSmsHttpGateway.sendMessage(OutboundMessage msg) method are the same 
both for the default and ENCUCS2 encoding.

Please note that I am successfully able to send Russian SMS to the same phone 
from the BulkSMS site, you only need to set "Unicode" switch for the message 
before the sending.

If unicode messages are not supported for BulkSMS, is there any other SMS 
provider for which it's possible?

Thank you in advance!

Original issue reported on code.google.com by irina.ar...@gmail.com on 14 Dec 2012 at 5:24

Attachments:

GoogleCodeExporter commented 9 years ago
Attached patch fixes the problem for BulkSMS provider.
Is it possible to check this in?

Thank you in advance!

Original comment by irina.ar...@gmail.com on 17 Dec 2012 at 9:49

Attachments:

GoogleCodeExporter commented 9 years ago
I've found one more problem: it's unable to send long messages using BulkSMS 
provider.

New attached patch improve the situation, however still I am unable to send 
messages longer than 70 symbols.

Original comment by irina.ar...@gmail.com on 20 Dec 2012 at 10:01

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 27 Dec 2012 at 12:27

GoogleCodeExporter commented 9 years ago
Hello,

As far as the patch is concerned, I will certainly check it in - thanks!

As for the multiparts, SMSLib has this feature enabled (check 
"allow_concat_text_sms" header). However, there are references in the BulkSMS 
site (for example, here: 
http://www.bulksms.com/int/docs/eapi/submission/send_sms/) that some features 
are route-specific. Have you tried to enable an "expensive" route? Did you 
contact BulkSMS?

Original comment by admin@smslib.org on 27 Dec 2012 at 12:39

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 27 Dec 2012 at 12:58

GoogleCodeExporter commented 9 years ago
r2386

Original comment by admin@smslib.org on 27 Dec 2012 at 1:02

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 2 Jan 2013 at 9:02

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 6 Mar 2013 at 9:27