I don't think this can be fixed.

Your phone obviously uses the local (that is, for your country)
character set, so two local phones recognize these chars.
SMSLib supports the standard GSM alphabet - everything else should be
encoded as Unicode. Some phones do this automatically when you enter
non-latin chars, for example some Symbian phones or the iPhone.

On Feb 19, 11:57 pm, Öner Ekiz <[email protected]> wrote:
> i sent it from my phone. it sends correct chars.
> do i need to make any code change in ReadMessages? i got the log as reading
> inbound message.
>
> 2010/2/19 Thanasis Delenikas <[email protected]>
>
>
>
>
>
> > I see that the message is a 7bit encoded message. This means that the chars
> > are lost during sending.
> > Have you sent this message from another smslib app? Or from your phone?
>
> > If you've sent it via an smslib app, make sure that you set the message
> > object to USC2 encoding before sending it.
>
> > On Fri, Feb 19, 2010 at 11:39 PM, Öner Ekiz <[email protected]> wrote:
>
> >> ok i just prepared for you a new log file.
> >> the exact sms that i send to modem is this:
> >> "This is a message that contains utf8 chars.Here are the chars:ığşüö"
>
> >> but the message that is read is:
> >> "This is a message that contains utf8 chars.Here are the chars:üö"
>
> >> i have attached the log file.
>
> >> 2010/2/19 Thanasis <[email protected]>
>
> >>> Lets do it in some other way:
>
> >>> I need a log of the ReadMessages example. Make sure that you have
> >>> correctly installed slf4j and set the debug level to max. I need those
> >>> hex characters that are output upon modem read commands.
>
> >>> On Feb 19, 11:05 pm, Öner Ekiz <[email protected]> wrote:
> >>> > Hi Thanasis,
> >>> > I tried to send it but my mobile always warns that sms could not
> >>> delivered.
> >>> > my sms contains these Turkish chars: ışğçöü
>
> >>> > 2010/2/19 Thanasis <[email protected]>
>
> >>> > > Is it easy for you to send one of these messages to +306941580893 ?
>
> >>> > > On Feb 19, 5:10 pm, Öner Ekiz <[email protected]> wrote:
> >>> > > > it crops utf-8 characters and gets other chars as well.
> >>> > > > when my only change is casting to InboundBinaryMessage i got
> >>> > > > java.lang.ClassCastException.
>
> >>> > > > 2010/2/19 Thanasis <[email protected]>
>
> >>> > > > > Hi,
>
> >>> > > > > I suspect that UTF8 chars may arrive as normal (i.e.
> >>> InboundMessage)
> >>> > > > > messages encoded under the UCS2 scheme.
> >>> > > > > Are you casting to InboundBinaryMessage?
>
> >>> > > > > On Feb 19, 4:53 pm, Öner Ekiz <[email protected]> wrote:
> >>> > > > > > hi
> >>> > > > > > can anybody show me how to read messages that has utf-8
> >>> characters?
> >>> > > > > > i must use it as in Inboundmessage reading:
> >>> > > > > >    service.readMessages(unReadMessages, MessageClasses.ALL);
>
> >>> > > > > > lib has InboundBinaryMessage for DCS_ENCODING_8BIT but could
> >>> not get
> >>> > > it
> >>> > > > > > working.
>
> >>> > > > > --
> >>> > > > > You received this message because you are subscribed to the
> >>> Google
> >>> > > Groups
> >>> > > > > "SMSLib User Group" group.
> >>> > > > > To post to this group, send email to [email protected].
> >>> > > > > To unsubscribe from this group, send email to
> >>> > > > > [email protected]<smslib%[email protected]>
> >>> <smslib%[email protected]<smslib%252bunsubscr...@googlegroups.
> >>>  com>
>
> >>> > > <smslib%[email protected]<smslib%252bunsubscr...@googlegroups.
> >>> > >  com>
> >>> <smslib%252bunsubscr...@googlegroups. com>
>
> >>> > > > > .
> >>> > > > > For more options, visit this group at
> >>> > > > >http://groups.google.com/group/smslib?hl=en.
>
> >>> > > > --
> >>> > > > 193∞
>
> >>> > > --
> >>> > > You received this message because you are subscribed to the Google
> >>> Groups
> >>> > > "SMSLib User Group" group.
> >>> > > To post to this group, send email to [email protected].
> >>> > > To unsubscribe from this group, send email to
> >>> > > [email protected]<smslib%[email protected]>
> >>> <smslib%[email protected]<smslib%252bunsubscr...@googlegroups.
> >>>  com>
>
> >>> > > .
> >>> > > For more options, visit this group at
> >>> > >http://groups.google.com/group/smslib?hl=en.
>
> >>> > --
> >>> > 193∞
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "SMSLib User Group" group.
> >>> To post to this group, send email to [email protected].
> >>> To unsubscribe from this group, send email to
> >>> [email protected]<smslib%[email protected]>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/smslib?hl=en.
>
> >> --
> >> 193∞
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "SMSLib User Group" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<smslib%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/smslib?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "SMSLib User Group" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<smslib%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/smslib?hl=en.
>
> --
> 193∞

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib User 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