Forums Register Login

How to display russian data properly using S.O.P

+Pie Number of slices to send: Send
Hi All,

Iam working with russian client and the data displayed in UserInterface is coming as '???". I have written small code like this and it is also displays the output as "???".

public class russiandata {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

String test = "кфмш";
System.out.println("Test"+test);


}

}

OutPut : Test???.

Please suggest me as i want to display russian data instead of "???". Please suggest me how to resolve this issue?

Regards
Ravi
+Pie Number of slices to send: Send
Where are you printing this - a console or terminal of some kind? Those generally support ASCII (or ISO-8859-1 at best), but not anything else.
+Pie Number of slices to send: Send
Hi All,

Iam displying this data in UserInterface and not in console. It has a text field and that has to display russian data. Please let me know how to handle this?

Regards
Ravi
+Pie Number of slices to send: Send
What is "UserInterface"? Can it handle cyrillic text? Are you using a font that has those characters?
+Pie Number of slices to send: Send
You can try this:
This is necessary, but you still have to make sure that wherever System.out prints to, it has a font that supports Cyrillic.
To do a great right, do a little wrong - shakepeare. twisted little ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1014 times.
Similar Threads
Itext generate output in Text format (2.1.4 jar version)
Why it prints '?' as output. What it means?
~operator
Help with displaying XML string
please help me with this too
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:03:41.