BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-16-2009, 10:28 AM   #1
yugushen
New Member
 
Join Date: Jan 2009
Model: 9000
PIN: N/A
Carrier: SingTel
Posts: 3
Default Does blackberry support East Asia character encodings?

Please Login to Remove!

I'm an newbie to blackberry development. I have some problems about character encodings.

I'm writing a small bb application, which needs to fetch an xml file from some server. Unfortunately, the xml file is not encoded in UTF8 but GBK (one kind of Chinese character encoding). So I try to convert it from GBK to UTF8. However, bb jvm tells me "Encoding GBK no support".

I search the JDE api reference, and find the documentation about character encodings in "java.lang.String" section. It says:

Quote:
BlackBerry supports the following character encodings:

* "ISO-8859-1"
* "UTF-8"
* "UTF-16BE"
* "US-ASCII"

Support of other encodings is dependant on the actual device's configuration.
It seams that I need a simulator with East Asia characters supported, so I download such a version of simulator from the blackberry website. However, I'm no lucky. It still doesn't work. Actually I have tried my app in my real device (Bold), which supports East Asia characters (I can read and write Chinese), but my app still cannot find the support.

How do I make Chinese encoding supported in my app?

Any help is appreciated.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


OEM iPhone 11 PRO X/XR XS MAX 8/7 PLUS Fast Charging USB Cable 10 Feet & 6 Feet  picture

OEM iPhone 11 PRO X/XR XS MAX 8/7 PLUS Fast Charging USB Cable 10 Feet & 6 Feet

$2.99



iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M picture

iPhone 13 12 11 PRO MAX XR XS 8/7/6 Fast Charger USB Data Cable cord 10 feet/3M

$4.99



10 Feet/3M For iPhone 13 12 11 PRO MAX MINI  X XR XS 8 7 Fast Charging USB Cable picture

10 Feet/3M For iPhone 13 12 11 PRO MAX MINI X XR XS 8 7 Fast Charging USB Cable

$5.00



10 Foot/3M iPhone 12/11 PRO MAX X/10 XR XS 8/7 FAST Charging USB LONG Cable cord picture

10 Foot/3M iPhone 12/11 PRO MAX X/10 XR XS 8/7 FAST Charging USB LONG Cable cord

$4.98



Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 picture

Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013

$37.90



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$31.90







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.