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: 35256
7
posted
0
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.
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: 35256
7
posted
0
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.