Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 242
Registered: ‎02-19-2013
My Device: 9500
My Carrier: _

SMS garbled

I am sending the chinese sms from another  to blackberry and now in blackberry mobile when i receive it appear like "你好" .

 

Why it so happening. can you please help exactly what is the problem.

 

Developer
Posts: 19,629
Registered: ‎07-14-2008
My Device: Not Specified

Re: SMS garbled

"can you please help exactly what is the problem"

 

No sorry I can't.  But I would investigate character conversion here.  You send bytes over SMS, so the Unicode characters have to converted into something that can be sent in bytes.  It looks like the test you are receiving is in fact two Unicode characters - 20320 and 22909.  If this is correct, then you just need to figure out how the text is being converted to bytes and reverse that process when receiving the SMS.