BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-04-2009, 05:09 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with displaying specific characters using Graphics.drawText

Please Login to Remove!

Hi everyone,

Have a problem with displaying specific characters on device and simulator. It seems that problem is in BB Fonts. Instead of "Téléphone" i get "T??l??phone"
I'm using such code:

Code:
 protected void paint(Graphics g) {
        String str = new String("Téléphone".getBytes(), "UTF-8");
        int x = 0;
        int y = 0;
       g.setFont(FontFamily.forName("BBClarity").getFont(Font.BOLD,12))
       g.drawText(str, x, y);


    }
Does anybody really now to overcome this?

Thanks in advance
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

SIEMENS SIRIUS SIGUARD SAFETY RELAY WITH RELEASE CIRCUITS 3TK2824-2BB40
$74.99
SIEMENS SIRIUS SIGUARD SAFETY RELAY WITH RELEASE CIRCUITS 3TK2824-2BB40  pictureSiemens 6GK1901-0DB20-6AA0 Simatic Net IE FC M12 Plug Pro Connecting Plug - NEW
$39.99
Siemens 6GK1901-0DB20-6AA0 Simatic Net IE FC M12 Plug Pro Connecting Plug - NEW pictureSIEMENS 3VE1010-2G 1.0-1.6A 5HP @ 230VAC OVERLOAD RELAY MOTOR PROTECTOR
$11.75
SIEMENS 3VE1010-2G 1.0-1.6A 5HP @ 230VAC OVERLOAD RELAY MOTOR PROTECTOR  pictureLot of 5 Siemens S42024-D5015-B100-3
$199.99
Lot of 5 Siemens S42024-D5015-B100-3 pictureQJ23B175 Siemens circuit breaker, 175A, 240V
$95.0
QJ23B175 Siemens circuit breaker, 175A, 240V picture






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