hindi unicode works but tamil does not ??



Hello,

I am trying to print some Tamil characters but does work though Hindi
characters are being printed. I have fonts for both the languages.

Plus I just want to know how java picks up the fonts, does it have its
own fonts. Below is the program I have written.



import javax.swing.*;
public class UnicodeTest extends JFrame
{
private String str;
private JTextField text=null;

public UnicodeTest()
{
//str="\u0932\u0947\u0915\u0930"; // Hindi works
str="\u0B85\u0B87\u0B88"; // Tamil does not work

text=new JTextField(10);
add(text);
setSize(100,100);
setVisible(true);
}

public static void main(String[] args)
{
UnicodeTest obj=new UnicodeTest();
obj.print();
}

private void print()
{
text.setText(str);
}
}


regards,
vijay.
.



Relevant Pages

  • Re: Viewing Hindi/devanagri/indic languages
    ... > I am facing problems viewing websites having hindi or any other Indian ... > languages in FC1 irrespective of the browser. ... "Bad or non implemented Greek fonts?" ...
    (Fedora)
  • Re: hindi unicode works but tamil does not ??
    ... I am trying to print some Tamil characters but does work though Hindi ... I have fonts for both the languages. ... glyphs for Tamil chars. ...
    (comp.lang.java.help)
  • Re: Indian language fonts to be included as default fonts in windows
    ... on my ordinary 107-key keyboard. ... write Indian languages is by far the best option. ... fonts and mastering their each key notations was not easy. ...
    (microsoft.public.word.docmanagement)
  • Re: Font API
    ... Since you have Arabic and Hebrew working, but not the Indic fonts, you ... The Indic font for Hindi is Devanagan, ... I want to make a combo work like Microsoft Word's Complex Script Fonts ... Click advanced on Text services and input languages and make sure you've set ...
    (microsoft.public.vb.winapi)
  • RE: Indian language fonts to be included as default fonts in windows
    ... don't exist but that the characters on the English keyboard are not standard. ... I used to have over 40 different Hindi fonts developed by different people. ... there was always one common problem: none of the keys were ...
    (microsoft.public.word.docmanagement)