displaying asian languages
Hi all,
I am trying to display an Indian language in a text field and the following code should do that,
String davidMessage = "David says, \"\u0041\u0C81\u0C83\";
JTextArea textArea = new JTextArea(davidMessage);
But its not working the way I expected....should my computer have that font file(ttf or something of that kind)...Doesn't JVM support these unicode characters on its own....
Can someone help me with this...
Thanks in advance,
Pradeep
# 3
http://www.joconner.com/wp-content/uploads/2007/04/locale.html
In general, peered AWT components support scripts that are supported by the underlying host. If your host system is localized to Arabic, the AWT text components will display Arabic. On an Arabic system, you would also be able to enter Arabic text into components like TextField or TextArea. However, you cannot expect those same AWT components to display text that isn't in the same script as the localized host. An English host would not typically be able to display Arabic in a TextField for example.