Helpful Information
Category: BlackBerry Development
How to decode GB2312 encoded text in Blackberry?


I am developing a Blackberry application. In that I will receive data from the server in XML format. I will also get data in Chinese language.

The Chinese data is encoded in GB2312 format in the server side and sent. I am unable to decode it & display it on my Blackberry device.

When I try to display the text it is coming in junk format on the screen.

Kindly suggest me that how can I decode the data and show it in Chinese language.

Thanks in advance.

privacy (GDPR)