displaying non-western characters

Hi there,

I am developing a midlet where I handle some arabic words.. I have a pb, I

cannot display arabic character . I used the following code, unfortunately

it does not work, unfortunately I got a sequence of question marks

displayed in the txtfield. In addtion I used different emulator Nokia s40, s60,

sun java emulator.

try{

textField1.setString(new String("الكتاب".getBytes("UTF-8")));

} catch(UnsupportedEncodingException e) {

e.printStackTrace();

}

thank you for your help

A.E.K.

[603 byte] By [AEKa] at [2007-11-27 2:22:33]
# 1
Use unicode representalion of the characters that you wanna display on to the device.Also, the font engine on the device on which you are testing you app must support arabic charset inorder to render the characters.~Mohan
itsmohana at 2007-7-12 2:27:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...