Closed GoogleCodeExporter closed 8 years ago
Hi,
Writing arabic should use unicode characters, it use UCS2 equals to 16bit.
I've been add examples for sending message on unicode characters. Please check
the
examples at
http://code.google.com/p/jsmpp/source/browse/trunk/src/java/examples/org/jsmpp/e
xampl
es/SendUnicode.java
Please tell me the if you have succeed doing this.
Original comment by uuda...@gmail.com
on 24 Dec 2008 at 4:51
In the example given by you the constructor used for Datacoding as below is not
compiling.
DataCoding dataCoding = new GeneralDataCoding(Alphabet.ALPHA_UCS2,
MessageClass.CLASS1, false);
Original comment by salim.k...@gmail.com
on 26 Dec 2008 at 1:17
Sorry I'm using last version from repositories.
For version 2.0, please use the General Data Coding just like on the
http://code.google.com/p/jsmpp/source/browse/tags/2.0/src/java/examples/org/jsmp
p/exa
mples/SimpleSubmitExample.java
Change the Alphabet using ALPHA_UCS2
from
new GeneralDataCoding(false, true, MessageClass.CLASS1, Alphabet.ALPHA_DEFAULT)
to
new GeneralDataCoding(false, true, MessageClass.CLASS1, Alphabet.ALPHA_UCS2)
Original comment by uuda...@gmail.com
on 26 Dec 2008 at 1:56
thnks, I am able tosend sms in arabic lang
Original comment by salim.k...@gmail.com
on 27 Dec 2008 at 11:22
Original issue reported on code.google.com by
salim.k...@gmail.com
on 23 Dec 2008 at 3:48