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

Hitachi HM4864AP-15 - 16 Pin DIPP Memory 64K x 1 - lot of 9
$13.99
Hitachi HM4864AP-15 - 16 Pin DIPP Memory 64K x 1 - lot of 9 pictureSiglent SDS 1152CML + 150MHz; 2 channels; 1GSa/s; 2M memory depth Oscilloscope
$415.27
Siglent SDS 1152CML + 150MHz; 2 channels; 1GSa/s; 2M memory depth Oscilloscope  pictureSiemens Simatic S5 Memory Submodul 6ES5 375-1LA15 EPROM S293
$9.99
Siemens Simatic S5 Memory Submodul 6ES5 375-1LA15 EPROM S293 pictureSandisk Extreme CompactFlash Memory Card - 16 GB (SDCFXS-016G-A46)
$30.52
Sandisk Extreme CompactFlash Memory Card - 16 GB (SDCFXS-016G-A46) pictureMeasurex 052328700 Memory Module 256K x 22 with 20 bit address
$399.99
Measurex 052328700 Memory Module 256K x 22 with 20 bit address picture






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