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
New Developer
Posts: 19
Registered: ‎12-27-2009
My Device: Not Specified

UTF-8

can blackberry (on default) show UTF-8 unicode ?

 

I tryed

 

 

RichTextField text = new RichTextField("\u10d4"+" "+"\u10da"+ "  \u0627");

add(text);

 

 

but on screen displayd as black square

 

how fix ?

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: UTF-8

What you are seeing is the standard character replacement for an unknown character.

 

UTF-8 is supported but you need to have the proper languages installed (I don't know how to get other languages without getting a new BlackBerry or going to another country) in order to view the character.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Highlighted
New Developer
Posts: 19
Registered: ‎12-27-2009
My Device: Not Specified

Re: UTF-8

no, there is no lenguage error