File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Unicode support for Tamil language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Unicode support for Tamil language" Watch "Unicode support for Tamil language" New topic
Author

Unicode support for Tamil language

kannan raj
Greenhorn

Joined: Jun 29, 2007
Posts: 1
Hi everyone:

I am creating a very simple application using Swing, and text file based db. I would like to input and output strings in Tamil language, can anyone please help me with this, I googled and was not very helpful.

I found sites that help writing and reading from text file using unicode, but what is the unicode encoding name in java for Tamil (or it doesn't support??). And, also in the text area, is it possible to see tamil strings as it is being typed? please help me with this. Thanks in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
Welcome to JavaRanch.

There is no special encoding in Unicode for any particular language; "UTF-8" should do nicely.

TextArea can display any characters, as long as you have a font that contains them, but you probably have one already.

You may find his article helpful in learning about Unicode.
karthic panneer
Ranch Hand

Joined: Sep 22, 2008
Posts: 57
Hi
I also want to display information in tamil it may be a simple command line application.
I also need to know that whether corresponding font should be installed or not?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
http://en.wikipedia.org/wiki/Everson_Mono claims to support Tamil. You might also try Microsoft's Arial Unicode, which can be installed from the Microsoft Office CDs.

Since you're talking about a command line application, note that most consoles/terminals don't support Unicode, so make sure that the one you're using does.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unicode support for Tamil language