Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unicode support for Tamil language

 
kannan raj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic