its a GSM encoding to text conversion problem - i did relsolve it
using gmsToUtf conversion function. It works great now -

modifed the Database.java file
changes done on Database.jav

commented the following lines
//if (msg.getEncoding() == MessageEncodings.ENC8BIT) pst.setString(7,
msg.getPduUserData());
//else pst.setString(7, (msg.getText().length() == 0 ? "" :
msg.getText()));

// added below lines
GsmCharset objgsmCharSet = new GsmCharset();
String msgUTF = new String
(objgsmCharSet.gsmToUtf((msg.getText()).getBytes()));
if (msg.getEncoding() == MessageEncodings.ENC8BIT) pst.setString(7,
msg.getPduUserData());
else pst.setString(7, (msgUTF.length() == 0 ? "" : msgUTF));

-- 
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].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to