Russian language in String

Hello, guys!

I have a truble, help me please!

So, i have a method

publicvoid getWord(String word){

String letter;

for (int i=0; i<word.length()-1; i++){

letter = word.substring(i, i+1);

System.out.print(letter);

}

}

And when i write russian words in parameter, i become ? in console. How send right a string?>

[616 byte] By [Solnushkoa] at [2007-11-27 10:29:50]
# 1

Solnushko -

When you say 'console' are you referring to the emulator in which you are testing the MIDlet? If so, you may need a localized version of the emulator that supports Russian.

If your handset language is set to Russian it should work properly in the handset, try this and post the result.

Regards, Darryl

Darryl.Burkea at 2007-7-28 17:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...